Thread (5 messages) 5 messages, 2 authors, 2025-01-30
STALE506d

[PATCH 1/3] t0001: remove duplicate test

From: Patrick Steinhardt <hidden>
Date: 2025-01-30 16:24:31
Subsystem: the rest · Maintainer: Linus Torvalds

The test in question is an exact copy of the testcase preceding it.
Remove it.

Signed-off-by: Patrick Steinhardt <redacted>
---
 t/t0001-init.sh | 9 ---------
 1 file changed, 9 deletions(-)
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 &&
-- 
2.48.1.468.gbf5f394be8.dirty
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help