diff --git a/.gitattributes b/.gitattributes index 70661ac67..3b4b1e0f1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -6,3 +6,8 @@ *.cpp text eol=lf *.sh text eol=lf *.desktop text eol=lf + +# Golden/project data files are byte-compared by tests — keep LF on +# Windows checkouts too (text=auto would hand out CRLF there). +*.json text eol=lf +*.ove text eol=lf