From 7c15fe92acf267f7538d8f4bece33d6bc8409cd7 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 27 Mar 2014 14:06:20 -0700 Subject: [PATCH] doc: submodule.*.branch config is keyed by name Ever since 941987a5 (git-submodule: give submodules proper names, 2007-06-11) introduced the ability to move a submodule from one path to another inside its superproject tree without losing its identity, we should have consistently used submodule..* to access settings related to the named submodule. Signed-off-by: W. Trevor King Signed-off-by: Junio C Hamano --- Documentation/git-submodule.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt index 2e1c7a28d0..a7597bf225 100644 --- a/Documentation/git-submodule.txt +++ b/Documentation/git-submodule.txt @@ -162,7 +162,7 @@ update:: + For updates that clone missing submodules, checkout-mode updates will create submodules with detached HEADs; all other modes will create -submodules with a local branch named after `submodule..branch`. +submodules with a local branch named after `submodule..branch`. + For updates that do not clone missing submodules, the submodule's HEAD is only touched when the remote reference does not match the -- 2.11.4.GIT