diff options
author | W. Trevor King <wking@tremily.us> | 2014-03-27 14:06:20 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-27 14:58:37 -0700 |
commit | 15d64936d4be1e11085e21de6615742298276ab6 (patch) | |
tree | 895175ad0098cfa88d2a0a251b51104fa4f3b88c /Documentation | |
parent | submodule add: If --branch is given, record it in .gitmodules (diff) | |
download | tgif-15d64936d4be1e11085e21de6615742298276ab6.tar.xz |
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')
-rw-r--r-- | Documentation/git-submodule.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt index b1996f1a63..77e45d1060 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:: |