From: Junio C Hamano Date: Fri, 29 Sep 2017 02:23:44 +0000 (+0900) Subject: Merge branch 'sb/doc-config-submodule-update' X-Git-Tag: v2.15.0-rc0~28 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/d5eec90970d796ac5ddcd7cdc85d0fc828f7ceda?hp=69c54c72845ebc686d0f4bdd8d44b06f799b0a80 Merge branch 'sb/doc-config-submodule-update' * sb/doc-config-submodule-update: Documentation/config: clarify the meaning of submodule..update --- diff --git a/Documentation/config.txt b/Documentation/config.txt index dc4e3f58a2..1ac0ae6adb 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -3085,10 +3085,14 @@ submodule..url:: See linkgit:git-submodule[1] and linkgit:gitmodules[5] for details. submodule..update:: - The default update procedure for a submodule. This variable - is populated by `git submodule init` from the - linkgit:gitmodules[5] file. See description of 'update' - command in linkgit:git-submodule[1]. + The method by which a submodule is updated by 'git submodule update', + which is the only affected command, others such as + 'git checkout --recurse-submodules' are unaffected. It exists for + historical reasons, when 'git submodule' was the only command to + interact with submodules; settings like `submodule.active` + and `pull.rebase` are more specific. It is populated by + `git submodule init` from the linkgit:gitmodules[5] file. + See description of 'update' command in linkgit:git-submodule[1]. submodule..branch:: The remote branch name for a submodule, used by `git submodule