On Wed, Feb 10, 2010 at 4:39 PM, Schuyler Duveen [off-list ref] 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