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

Re: [1.8.0] Recursively checkout, merge and reset populated submodules

From: Miles Bader <hidden>
Date: 2016-06-15 22:50:37

Jens Lehmann [off-list ref] writes:
quoted
So, .gitmodules initially controls recursion.  When a submodule gets
populated, it gets an entry in .git/config which then determines the
recursion behavior from then on.  Changing branches might change .gitmodules,
but anything in .git/config will persist so any customizations the user makes
will also persist.
Yes. Upstream can give sane defaults but the user has the last word.
If .git/config entries are created _automatically_ based on the initial
.gitmodules, doesn't that means it will cease to respect the upstream
defaults in the case where .gitmodules changes, even if the user didn't
actually change anything himself...?

-Miles

-- 
`The suburb is an obsolete and contradictory form of human settlement'
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help