diff --git a/t/t0020-crlf.sh b/t/t0020-crlf.sh index 144fdcde7b..f7a6a3ce7d 100755 --- a/t/t0020-crlf.sh +++ b/t/t0020-crlf.sh @@ -148,7 +148,7 @@ test_expect_success 'checkout with autocrlf=input' ' git config core.autocrlf input && git read-tree --reset -u HEAD && test_must_fail has_cr one && - test_must_fail has_cr two && + test_must_fail has_cr dir/two && git update-index -- one dir/two && test "$one" = $(git hash-object --stdin