X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.gitattributes;h=3b3d2d0d656d32c909b61bfbeb33b4bbb1b36387;hb=7a0774defa1f485788a5ad2150a3e045a8dc8be3;hp=a77342d72447e4f41a218ae3ec928dc9783869ed;hpb=0372eca5b2e6dade5132a08db46992ca73a25188;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