t0027: squelch checkout path run outside test_expect_* block
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Nov 20, 2018 at 12:43 UTC
774d44cc18fe23e384b14535df00f4ef2995f8dd
1 file changed
+2
-2
t/t0027-auto-crlf.sh
+2
-2
@@ -293,9 +293,9 @@ checkout_files () {
293
do
294
rm crlf_false_attr__$f.txt &&
295
if test -z "$ceol"; then
296
- git checkout crlf_false_attr__$f.txt
296
+ git checkout -- crlf_false_attr__$f.txt
297
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
299
fi
300
done
301