X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.gitattributes;h=3b3d2d0d656d32c909b61bfbeb33b4bbb1b36387;hb=e0c17e8777f0b56f399c359a16b1b0295ce45173;hp=e749e1dc984c49dc1009469a384a49910b04796e;hpb=31d01efb069065449e53cfd7d0935c4b9fecf1e3;p=rust.git diff --git a/.gitattributes b/.gitattributes index e749e1dc984..3b3d2d0d656 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,8 @@ * text=auto eol=lf -crates/ra_syntax/test_data/** -text eof=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