From: Patrick Steinhardt Date: Thu, 30 Jan 2025 16:24:17 +0000 (+0100) Subject: t0001: remove duplicate test X-Git-Tag: v2.49.0-rc0~50^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=150c31bf88ee3021a51c0482279c7ccac68b0e0e;p=thirdparty%2Fgit.git t0001: remove duplicate test The test in question is an exact copy of the testcase preceding it. Remove it. Signed-off-by: Patrick Steinhardt Signed-off-by: Junio C Hamano --- diff --git a/t/t0001-init.sh b/t/t0001-init.sh index 72a0c2e7d4..213d5984b1 100755 --- a/t/t0001-init.sh +++ b/t/t0001-init.sh @@ -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 &&