Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [RFC] submodule+shallow clone feature request

From: Avery Pennarun <hidden>
Date: 2016-06-15 22:48:13

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help