Re: tracking submodules out of main directory.
- From
Jens Lehmann <jens.lehmann@web.de>
- Date
- Jun 28, 2011, 07:37 UTC
- Message-ID
- <4E0984D0.80506@web.de>
- In-Reply-To
- <4E0980D5.8040004@web.de>
Am 28.06.2011 09:20, schrieb Jens Lehmann:
Show 16 quoted lines
>> This could be a way if .gitmodules can contain something like >> >> [module "project one"] >> path = project1 >> url = ... >> depends = lib1 "123456" >> [module "project two"] >> path = project2 >> url = ... >> depends = lib1 "abcdef" >> [module "lib1"] >> path = lib1 >> url = ... > > But there is no need for that as "123456" and "abcdef" are already present > as the sha1 values for the gitlinks "lib1" and "lib2".
... but of course you would have to decide which sha1 is the right one for lib1, while your proposal offers two contradicting sha1s (note to self: must drink coffee *before* answering emails in the morning ;-)