But we still need to fix it for future tests, because the initial
value used during `add` was bogus (git://example.com/init.git).
Signed-off-by: W. Trevor King <wking@tremily.us>
grep "^-$rev1" lines
'
-test_expect_success 'init should register submodule url in .git/config' '
- echo git://example.com/init.git >expect &&
-
+test_expect_success 'init should register submodule active in .git/config' '
git submodule init &&
- git config submodule.example.url >url &&
git config submodule.example.url ./.subrepo &&
-
- test_cmp expect url
+ test "$(git config submodule.example.active)" = "true"
'
test_failure_with_unknown_submodule () {