So initialize the submodule before syncing. It's possible that `sync`
(and other submodule commands) should grow an --init option in the
style of `update`, but I've avoided that for now.
Signed-off-by: W. Trevor King <wking@tremily.us>
git pull &&
git submodule sync &&
test -z "$(git config submodule.submodule.url)" &&
- git submodule sync submodule &&
+ test_must_fail git submodule sync submodule &&
test -z "$(git config submodule.submodule.url)"
)
'