OSDN Git Service

doc: submodule.*.branch config is keyed by name
authorW. Trevor King <wking@tremily.us>
Thu, 27 Mar 2014 21:06:20 +0000 (14:06 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 27 Mar 2014 22:01:42 +0000 (15:01 -0700)
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.<name>.* to access
settings related to the named submodule.

Signed-off-by: W. Trevor King <wking@tremily.us>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-submodule.txt

index 2e1c7a2..a7597bf 100644 (file)
@@ -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.<path>.branch`.
+submodules with a local branch named after `submodule.<name>.branch`.
 +
 For updates that do not clone missing submodules, the submodule's HEAD
 is only touched when the remote reference does not match the