Rename sections from "module" to "submodule" in .gitmodules
Rename [module] to [submodule], so that it would be more forward compatible with the proposed extension by harmonizing the section names used in .gitmodules and .git/config. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Lars Hjemli committed
Jun 11, 2007 at 21:12 UTC
d57dd255a696cb68c880110a990085c08343f618
2 files changed
+2
-2
git-submodule.sh
+1
-1
@@ -66,7 +66,7 @@ modules_init()
66
url=$(git-config submodule."$path".url)
67
test -z "$url" || continue
68
69
- url=$(GIT_CONFIG=.gitmodules git-config module."$path".url)
69
+ url=$(GIT_CONFIG=.gitmodules git-config submodule."$path".url)
70
test -z "$url" &&
71
die "No url found for submodule '$path' in .gitmodules"
72
t/t7400-submodule-basic.sh
+1
-1
@@ -40,7 +40,7 @@ test_expect_success 'Prepare submodule testing' '
40
git-add a lib z &&
41
git-commit -m "super commit 1" &&
42
mv lib .subrepo &&
43
- GIT_CONFIG=.gitmodules git-config module.lib.url git://example.com/lib.git
43
+ GIT_CONFIG=.gitmodules git-config submodule.lib.url git://example.com/lib.git
44
'
45
46
test_expect_success 'status should only print one line' '