t5531: further "matching" fixups
authorJeff King <peff@peff.net>
Wed, 8 Jan 2014 10:47:56 +0000 (05:47 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Jan 2014 17:35:45 +0000 (09:35 -0800)
Commit 43eb920 switched one of the sub-repository in this
test to matching to prepare for a world where the default
becomes "simple". However, the main repository needs a
similar change.

We did not notice any test failure when merged with b2ed944
(push: switch default from "matching" to "simple", 2013-01-04)
because t5531.6 is trying to provoke a failure of "git push"
due to a submodule check. When combined with b2ed944 the
push still fails, but for the wrong reason (because our
upstream setup does not exist, not because of the submodule).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5531-deep-submodule-push.sh
index 8c16e045a0c585957a0be4e31b5628d1d5b6cb23..445bb5fe26a4d8edc29223b1216625d484cd01bf 100755 (executable)
@@ -12,6 +12,7 @@ test_expect_success setup '
        (
                cd work &&
                git init &&
+               git config push.default matching &&
                mkdir -p gar/bage &&
                (
                        cd gar/bage &&