From 774d44cc18fe23e384b14535df00f4ef2995f8dd Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Tue, 20 Nov 2018 12:43:24 +0900 Subject: [PATCH] t0027: squelch checkout path run outside test_expect_* block Signed-off-by: Junio C Hamano --- t/t0027-auto-crlf.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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