This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: git question


On 04/17/2012 08:41 AM, Ian Lance Taylor wrote:

> We would have to decide what to do with the shared directories.  E.g.,
> both gdb and binutils share the bfd and opcodes directories.  If gdb and
> the binutils move into separate git repositories, we really don't want
> their copies of the directories to diverge.
> 
> This means that it is not enough to just do it.  If there is a single
> bfd/opcodes GIT repository, then we need scripts to assemble different
> git repositories into a source tree that can actually be built.  If gdb
> and the binutils each have their own copies of bfd/opcodes, then we need
> ongoing mechanisms to ensure that the copies remain the same.

This is more for my education rather than a suggestion (I am no git expert),
but why can't git submodules [1] be used to reference the shared pieces?

[1] http://book.git-scm.com/5_submodules.html

-- 
Meador Inge
CodeSourcery / Mentor Embedded
http://www.mentor.com/embedded-software


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]