Subject: Re: git-submodule.sh respects submodule.$name.update in .git/config but not .gitmodules

From: Junio C Hamano <[email-masked]>
Date: Mon, 09 Dec 2013 15:40:47 -0800

Heiko Voigt <[email-masked]> writes:

> This notion has changed in a way that only the url (by that the name)
> should be copied on init. The default for everything else should come
> from .gitmodules or gits own default.

I think you need to be a bit careful here.  I do not think
everything should blindly default to .gitmodules (otherwise there
are obvious security implications as well as usability ones).

> The update configuration option was implemented before we realized that.
> So currently it is still copied when submodule init is called. The main
> reason is that we have not found the time to change that.

And 'update', as it allows any custom way to run it, is unlikely to
be allowed to be used blindly from .gitmodules, no?