Re: [RFC] Fourth round of support for cloning submodules
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 24, 2007, 18:38 UTC
- Message-ID
- <7vejl6xe17.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <alpine.LFD.0.98.0705241030440.26602@woody.linux-foundation.org>
Linus Torvalds <torvalds@linux-foundation.org> writes:
Show 15 quoted lines
> I actually really liked Junio's suggestion of > > [subproject "git://git.kernel.org/pub/linux-2.4.git"] > URL = http://www.kernel.org/pub/linux-2.4.git > ... > Note how that example had nothing to do with subprojects per se: the URL > rewriting is really another issue. But yes, I think it might also be worth > it to actually be able to override the whole subproject data, ie also have > > [subproject "kernel/"] > url = ... > branch = xyzzy > > and allow that kind of information in .git/config to _override_ any such > entry in .gitmodules!
I just sent out a rather longish message that peripherally touches this and said I liked the three-level thing Steven Grimm suggested, which is essentially what you wrote above.
I am reasonably happy that we are in agreement and I was not way off in the design area by myself.