From: Junio C Hamano Date: Tue, 20 Nov 2018 03:43:24 +0000 (+0900) Subject: t0027: squelch checkout path run outside test_expect_* block X-Git-Tag: v2.21.0-rc0~120^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=774d44cc18fe23e384b14535df00f4ef2995f8dd;p=thirdparty%2Fgit.git t0027: squelch checkout path run outside test_expect_* block Signed-off-by: Junio C Hamano --- diff --git a/t/t0027-auto-crlf.sh b/t/t0027-auto-crlf.sh index beb5927f77..3587e454f1 100755 --- a/t/t0027-auto-crlf.sh +++ b/t/t0027-auto-crlf.sh @@ -293,9 +293,9 @@ checkout_files () { do rm crlf_false_attr__$f.txt && if test -z "$ceol"; then - git checkout crlf_false_attr__$f.txt + git checkout -- crlf_false_attr__$f.txt else - git -c core.eol=$ceol checkout crlf_false_attr__$f.txt + git -c core.eol=$ceol checkout -- crlf_false_attr__$f.txt fi done