From: Junio C Hamano Date: Mon, 26 Oct 2026 21:20:06 GMT Subject: Re: [GSoC PATCH] t7104: use test_path_is_file instead of test -f Message-ID: In-Reply-To: <20261026164536.50520-1-raaztilak07@gmail.com> Tilak Kumar writes: > Use the helper so that a missing file is reported > with a clear message instead of a silent failure. This makes sense but what is GSoC doing in the patch title? Has the program already been announced for 2027? > Signed-off-by: Tilak Kumar > --- > t/t7104-reset-hard.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/t/t7104-reset-hard.sh b/t/t7104-reset-hard.sh > index c23d6e3f52..acf145e69b 100755 > --- a/t/t7104-reset-hard.sh > +++ b/t/t7104-reset-hard.sh > @@ -29,7 +29,7 @@ test_expect_success 'reset --hard should restore unmerged ones' ' > > git reset --hard && > git ls-files --error-unmatch before/1 before/2 hello later/3 && > - test -f hello > + test_path_is_file hello > > '