summaryrefslogtreecommitdiff
path: root/Documentation/git-submodule.txt
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2014-03-27 21:06:20 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-03-27 21:58:37 (GMT)
commit15d64936d4be1e11085e21de6615742298276ab6 (patch)
tree895175ad0098cfa88d2a0a251b51104fa4f3b88c /Documentation/git-submodule.txt
parentb928922727d6691a3bdc28160f93f25712c565f6 (diff)
downloadgit-15d64936d4be1e11085e21de6615742298276ab6.zip
git-15d64936d4be1e11085e21de6615742298276ab6.tar.gz
git-15d64936d4be1e11085e21de6615742298276ab6.tar.bz2
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>
Diffstat (limited to 'Documentation/git-submodule.txt')
-rw-r--r--Documentation/git-submodule.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt
index b1996f1..77e45d1 100644
--- a/Documentation/git-submodule.txt
+++ b/Documentation/git-submodule.txt
@@ -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::