Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [RFC] Fourth round of support for cloning submodules

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:12

Linus Torvalds [off-list ref] writes:
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help