]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t0001: remove duplicate test
authorPatrick Steinhardt <ps@pks.im>
Thu, 30 Jan 2025 16:24:17 +0000 (17:24 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Jan 2025 22:36:40 +0000 (14:36 -0800)
The test in question is an exact copy of the testcase preceding it.
Remove it.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0001-init.sh

index 72a0c2e7d41377403bc1a67ff5781f7d50f181de..213d5984b134435e1884f45b65c6ea3adbfb1141 100755 (executable)
@@ -861,15 +861,6 @@ test_expect_success 're-init with includeIf.onbranch condition' '
        test_cmp expect actual
 '
 
-test_expect_success 're-init with includeIf.onbranch condition' '
-       test_when_finished "rm -rf repo" &&
-       git init repo &&
-       git -c includeIf.onbranch:nonexistent.path=/does/not/exist init repo &&
-       echo $GIT_DEFAULT_REF_FORMAT >expect &&
-       git -C repo rev-parse --show-ref-format >actual &&
-       test_cmp expect actual
-'
-
 test_expect_success 're-init skips non-matching includeIf.onbranch' '
        test_when_finished "rm -rf repo config" &&
        cat >config <<-EOF &&