This is the mail archive of the
mailing list for the binutils project.
Re: git question
Meador Inge <firstname.lastname@example.org> 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  be used to reference the shared pieces?
>  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