From: Junio C Hamano Date: Thu, 28 Apr 2016 22:47:32 GMT Subject: Re: [PATCH v5 2/2] submodule: pass on http.extraheader config settings Message-ID: In-Reply-To: Stefan Beller writes: > It doesn't even have to be a submodule related thing at all. > > I can imagine that `git gc` could learn to walk nested repos > (not submodules, just repos on disk inside the work tree). > And for that use case we'd maybe want to have a setting > to pack the nested repos more aggressively than the toplevel repo. > > (Not sure if there would be a use case or such a thing, but it is the > first I came up with) I do not think we are in the business of mucking with "dump of unrelated collections of repositories, whose inter-relationship the user did not tell us anything about". I however can foresee a value in "git gc --recurse-submodules", and I could see users may want to gc different submodules in different ways (which again brings us back to your "submodule group" thing).