t0027: squelch checkout path run outside test_expect_* block

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Junio C Hamano 2018-11-20 12:43:24 +09:00
parent 0f086e6dca
commit 774d44cc18

View File

@ -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