Without a way to turn submodules on and off, all submodules have their
URLs copied into the local config by default.
Signed-off-by: W. Trevor King <wking@tremily.us>
)
'
-test_expect_success '"git submodule sync" should not vivify uninteresting submodule' '
+test_expect_success '"git submodule sync --no-local" should not vivify uninteresting submodule' '
(cd top-only-clone &&
git pull &&
- git submodule sync &&
+ git submodule sync --no-local &&
test -z "$(git config submodule.submodule.url)" &&
- git submodule sync submodule &&
+ git submodule sync --no-local submodule &&
test -z "$(git config submodule.submodule.url)"
)
'