From: Junio C Hamano Date: Mon, 09 Dec 2013 23:40:47 GMT Subject: Re: git-submodule.sh respects submodule.$name.update in .git/config but not .gitmodules Message-ID: In-Reply-To: <20131209223506.GF9606@sandbox-ub> Heiko Voigt 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?