Re: [RFC] Submodules in GIT
From: Josef Weidendorfer <hidden>
Date: 2016-08-11 20:46:09
On Saturday 02 December 2006 00:09, Linus Torvalds wrote:
On Fri, 1 Dec 2006, sf wrote:quoted
Linus Torvalds wrote: ...quoted
In contrast, a submodule that we don't fetch is an all-or-nothing situation: we simply don't have the data at all, and it's really a matter of simply not recursing into that submodule at all - much more like not checking out a particular part of the tree.If you do not want to fetch all of the supermodule then do not fetch the supermodule.So why do you want to limit it? There's absolutely no cost to saying "I want to see all the common shared infrastructure, but I'm actually only interested in this one submodule that I work with".
So you are for a global submodule namespace in supermodule repositories, do I understand correctly? Otherwise, how would you specify the submodules at clone time given the ability that submodule roots can have relative path changed arbitrarily between commits?