t0001: remove duplicate test
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>
Patrick Steinhardt committed
Jan 30, 2025 at 17:24 UTC
150c31bf88ee3021a51c0482279c7ccac68b0e0e
1 file changed
-9
t/t0001-init.sh
-9
@@ -861,15 +861,6 @@ test_expect_success 're-init with includeIf.onbranch condition' '
861
test_cmp expect actual
862
'
863
864
-test_expect_success 're-init with includeIf.onbranch condition' '
865
- test_when_finished "rm -rf repo" &&
866
- git init repo &&
867
- git -c includeIf.onbranch:nonexistent.path=/does/not/exist init repo &&
868
- echo $GIT_DEFAULT_REF_FORMAT >expect &&
869
- git -C repo rev-parse --show-ref-format >actual &&
870
- test_cmp expect actual
871
-'
872
-
864
test_expect_success 're-init skips non-matching includeIf.onbranch' '
865
test_when_finished "rm -rf repo config" &&
866
cat >config <<-EOF &&