diff --git a/.gitattributes b/.gitattributes index e749e1dc98..4cd50e4810 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,6 @@ * text=auto eol=lf crates/ra_syntax/test_data/** -text eof=LF +# Older git versions try to fix line endings on images, this prevents it. +*.png binary +*.jpg binary +*.ico binary