From: Stefan Beller Date: Tue, 27 Dec 2016 19:36:05 GMT Subject: [PATCH 2/2] t7411: test lookup of uninitialized submodules Message-ID: <20161227193605.12413-3-sbeller@google.com> In-Reply-To: <20161227193605.12413-1-sbeller@google.com> Sometimes we need to lookup information of uninitialized submodules. Make sure that works. Signed-off-by: Stefan Beller --- t/t7411-submodule-config.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/t/t7411-submodule-config.sh b/t/t7411-submodule-config.sh index 3646f28b40..b40df6a4c1 100755 --- a/t/t7411-submodule-config.sh +++ b/t/t7411-submodule-config.sh @@ -126,6 +126,27 @@ test_expect_success 'reading of local configuration' ' ) ' +cat >super/expect_url <actual && + test_cmp expect_url actual && + git config submodule.submodule.url "$old_submodule" && + git submodule init b + ) +' + cat >super/expect_fetchrecurse_die.err <