From: Avery Pennarun Date: Wed, 10 Feb 2010 22:10:07 GMT Subject: Re: [RFC] submodule+shallow clone feature request Message-ID: <32541b131002101410j3c256dbeg9aa8bacde99886bb@mail.gmail.com> In-Reply-To: <4B73277C.9010801@columbia.edu> On Wed, Feb 10, 2010 at 4:39 PM, Schuyler Duveen wrote: > 2. Some way to specify an override on .gitmodules sources.  This is > because our .gitmodules includes public, read-only sources (github), > rather than our local repos we would prefer to deploy from (for the > purpose of reliability). You can already override this by editing .git/config after running 'git submodule init'. Of course, doing so precludes using --recursive in "git clone." > I'm not well-versed in the git source code yet, but poking around > suggests that this is doable.  Would a patch be well received (or does > someone want to do it for me :-) The git-submodule stuff is rarely maintained. I expect patches that improve it will meet with generally positive response, but it's somewhat unlikely that anyone will write them for you. Have fun, Avery