From c89eff0adef6f69a06ae20887024ab84782495d5 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 3 Dec 2012 07:15:08 -0500 Subject: [PATCH] t7400: init does not copy URL into superproject's config 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 --- t/t7400-submodule-basic.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/t/t7400-submodule-basic.sh b/t/t7400-submodule-basic.sh index 539703749..f6c53e2cb 100755 --- a/t/t7400-submodule-basic.sh +++ b/t/t7400-submodule-basic.sh @@ -248,14 +248,10 @@ test_expect_success 'status should initially be "missing"' ' 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 () { -- 2.26.2