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>
This commit is contained in:

committed by
Junio C Hamano

parent
bf2d824660
commit
d57dd255a6
@ -40,7 +40,7 @@ test_expect_success 'Prepare submodule testing' '
|
||||
git-add a lib z &&
|
||||
git-commit -m "super commit 1" &&
|
||||
mv lib .subrepo &&
|
||||
GIT_CONFIG=.gitmodules git-config module.lib.url git://example.com/lib.git
|
||||
GIT_CONFIG=.gitmodules git-config submodule.lib.url git://example.com/lib.git
|
||||
'
|
||||
|
||||
test_expect_success 'status should only print one line' '
|
||||
|
Reference in New Issue
Block a user