summaryrefslogtreecommitdiff
path: root/t/t4013-diff-various.sh
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2018-12-11 12:35:46 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-12-14 12:53:06 +0900
commitfc767afe77ee0e1bca50d86c8ec1277ea473b1bc (patch)
tree10715d2b3372b9b19fd4efe597665bbd91a8bbdd /t/t4013-diff-various.sh
parentt5318: use test_oid for HASH_LEN (diff)
downloadtgif-fc767afe77ee0e1bca50d86c8ec1277ea473b1bc.tar.xz
.gitattributes: ensure t/oid-info/* has eol=lf
The new test_oid machinery in the test library requires reading some information from t/oid-info/hash-info and t/oid-info/oid. The logic to read from these files in shell uses built-in "read" command, which leaves CR at the end of these text files when they are checked out with CRLF line endings, at least when run with bash shipped with Git for Windows. This results in an unexpected value in the variable these lines are read into, leading the tests to fail. Mark them to be checked out always with the LF line endings. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013-diff-various.sh')
0 files changed, 0 insertions, 0 deletions