]> git.lizzy.rs Git - rust.git/blobdiff - .gitattributes
Merge #10315
[rust.git] / .gitattributes
index 183e9b521184ca8587588157def155945dfb7a4e..3b3d2d0d656d32c909b61bfbeb33b4bbb1b36387 100644 (file)
@@ -1,2 +1,8 @@
-crates/ra_syntax/test_data/** -text eof=LF
-crates/ra_ide_api/src/snapshots/** -text eof=LF
+* text=auto eol=lf
+# git grep shouldn't match entries in this benchmark data
+bench_data/** binary
+crates/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