doc: submodule.* config are keyed by submodule names

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.

Reported-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: W. Trevor King <wking@tremily.us>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
W. Trevor King 2014-03-27 14:06:20 -07:00 committed by Junio C Hamano
parent b928922727
commit 15d64936d4

View File

@ -208,7 +208,7 @@ OPTIONS
-b::
--branch::
Branch of repository to add as submodule.
The name of the branch is recorded as `submodule.<path>.branch` in
The name of the branch is recorded as `submodule.<name>.branch` in
`.gitmodules` for `update --remote`.
-f::