From: Usman Akinyemi Date: Sun, 22 Feb 2026 09:44:59 GMT Subject: Re: [PATCH] t2004: use test_path_is_file instead of test -f Message-ID: In-Reply-To: > test $(cat ../$s1) = tree1asubdir/path5) > @@ -230,7 +230,7 @@ test_expect_success 'checkout --temp symlink' ' > test_line_count = 1 actual && > test $(cut "-d " -f2 actual) = path6 && > p=$(cut "-d " -f1 actual) && > - test -f $p && > + test_path_is_file $p && > test $(cat $p) = path7 > ' > > > base-commit: 67ad42147a7acc2af6074753ebd03d904476118f > -- > gitgitgadget I reviewed this patch, it looks good to me. >