X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.gitattributes;h=3b3d2d0d656d32c909b61bfbeb33b4bbb1b36387;hb=342c3c42bb282cae05e9d8740c2f724ea8014150;hp=a77342d72447e4f41a218ae3ec928dc9783869ed;hpb=9d39b7bc42e6186b0fd6e1cec746d58c950f780e;p=rust.git diff --git a/.gitattributes b/.gitattributes index a77342d7244..3b3d2d0d656 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,8 @@ -crates/ra_syntax/tests/data/** -text +* 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