Skip to contentSkip to conversation

git-submodule(1): update description and key names

PATCH New Lars Hjemli 1 participant 1 message Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 git-submodule(1): update description and key names

When git-submodule was updated to allow mapping between submodule name and submodule path, the documentation was left untouched.

---
 Documentation/git-submodule.txt |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
Documentation/git-submodule.txt +3 -3
index 7f0904e..e5a6c51 100644
@@ -32,8 +32,8 @@ status::
 
 init::
 	Initialize the submodules, i.e. register in .git/config each submodule
-	path and url found in .gitmodules. The key used in git/config is
-	`submodule.$path.url`. This command does not alter existing information
+	name and url found in .gitmodules. The key used in .git/config is
+	`submodule.$name.url`. This command does not alter existing information
 	in .git/config.
 
 update::
@@ -64,7 +64,7 @@ FILES
 When initializing submodules, a .gitmodules file in the top-level directory
 of the containing repository is used to find the url of each submodule.
 This file should be formatted in the same way as $GIR_DIR/config. The key
-to each submodule url is "module.$path.url".
+to each submodule url is "submodule.$name.url".
 
 
 AUTHOR
Signature · 1 line
1.5.2.2