Skip to content

Commit 774d44c

Browse files
committed
t0027: squelch checkout path run outside test_expect_* block
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0f086e6 commit 774d44c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t0027-auto-crlf.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,9 @@ checkout_files () {
293293
do
294294
rm crlf_false_attr__$f.txt &&
295295
if test -z "$ceol"; then
296-
git checkout crlf_false_attr__$f.txt
296+
git checkout -- crlf_false_attr__$f.txt
297297
else
298-
git -c core.eol=$ceol checkout crlf_false_attr__$f.txt
298+
git -c core.eol=$ceol checkout -- crlf_false_attr__$f.txt
299299
fi
300300
done
301301

0 commit comments

Comments
 (0)