This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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: gdb.git mirror is broken


Tom Tromey wrote:
>>>>>> "Jim" == Jim Meyering <jim@meyering.net> writes:
> Jim> Since some directories are shared between projects, one way would
> Jim> be to make each directory into its own git repository.
> Jim> Then, a separate gdb.git repository would include them
> Jim> via a git submodule.
>
> I thought that submodules could not be used to share files in the
> top-level directory.  This is why I think submodules are not a viable
> solution for src -- anything in that directory is shared, not only by
> all the src projects, but also by gcc.

You can put the top-level files in their own repository and make that
a submodule, then have either a VC'd symlink for each file (ugly, and
not as maintainable, IMHO) or a bootstrap/autogen.sh-style script that
creates the links.


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