Skip to content

Commit 15d6493

Browse files
wkinggitster
authored andcommitted
doc: submodule.* config are keyed by submodule names
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 <[email protected]> Signed-off-by: W. Trevor King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b928922 commit 15d6493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/git-submodule.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ OPTIONS
208208
-b::
209209
--branch::
210210
Branch of repository to add as submodule.
211-
The name of the branch is recorded as `submodule.<path>.branch` in
211+
The name of the branch is recorded as `submodule.<name>.branch` in
212212
`.gitmodules` for `update --remote`.
213213

214214
-f::

0 commit comments

Comments
 (0)