Re: [RFC] Fourth round of support for cloning submodules
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:12
Sven Verdoolaege [off-list ref] writes:
I'm obviously not going to stop anyone from putting URLs in .gitmodules and I can see that it would be useful in practice, but I still think that it doesn't matter where the submodule was located at any given point in history (from the point of view of the superproject). It only matters where the submodule is located now. You may be bisecting a problem and you may need to clone a submodule for a point in history when the submodule was placed somewhere else. (You may not have had a need to checkout the submodule before, or it may simply not be used in the current version of the supermodule.) So, I think it would still be useful to have an optional additional out-of-tree mechanism of getting usable URLs if the URLs in .gitmodules or your local config don't work.
I thought that was already solved in my original two-level strawman and can naturally be extended to the three-level strawman. What am I missing? gmane=http://article.gmane.org/gmane.comp.version-control.git/ $gmane/47502 $gmane/47548 $gmane/47621