Skip to content

Commit 150c31b

Browse files
pks-tgitster
authored andcommitted
t0001: remove duplicate test
The test in question is an exact copy of the testcase preceding it. Remove it. Signed-off-by: Patrick Steinhardt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f93ff17 commit 150c31b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

t/t0001-init.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -861,15 +861,6 @@ test_expect_success 're-init with includeIf.onbranch condition' '
861861
test_cmp expect actual
862862
'
863863

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-
873864
test_expect_success 're-init skips non-matching includeIf.onbranch' '
874865
test_when_finished "rm -rf repo config" &&
875866
cat >config <<-EOF &&

0 commit comments

Comments
 (0)