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