git question

Ian Lance Taylor iant@google.com
Tue Apr 17 17:59:00 GMT 2012


Meador Inge <meadori@codesourcery.com> writes:

> 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

I know little about git, but I think this comes under "need scripts to
assemble different git repositories into a source tree that can actually
be built."

Ian



More information about the Binutils mailing list