Subject: [PATCH] t0008: fix "large exclude file ignored in tree"

From: Mirko Faina <[email-masked]>
Date: Sun, 15 Mar 2026 04:48:50 +0100

Add cleanup to previous test for file that is unrequired to test the
size of the ignored exclude file.

Signed-off-by: Mirko Faina <[email-masked]>
---
 t/t0008-ignores.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/t0008-ignores.sh b/t/t0008-ignores.sh
index db8bde280e..18e048ee8c 100755
--- a/t/t0008-ignores.sh
+++ b/t/t0008-ignores.sh
@@ -946,7 +946,7 @@ test_expect_success SYMLINKS 'symlinks respected in info/exclude' '
 '
 
 test_expect_success SYMLINKS 'symlinks not respected in-tree' '
-	test_when_finished "rm .gitignore" &&
+	test_when_finished "rm -rf subdir .gitignore" &&
 	ln -s ignore .gitignore &&
 	mkdir subdir &&
 	ln -s ignore subdir/.gitignore &&
-- 
2.53.0.959.g497ff81fa9