Skip to content

Commit

Permalink
doc: submodule.* config are keyed by submodule names
Browse files Browse the repository at this point in the history
Ever since 941987a (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>
  • Loading branch information
W. Trevor King authored and Junio C Hamano committed Mar 27, 2014
1 parent b928922 commit 15d6493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/git-submodule.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down

0 comments on commit 15d6493

Please sign in to comment.