X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.gitattributes;h=cb87b5d01385ad82c7a1658208d0a2605c7f4306;hb=b0e56ef5e82791a9d41757d0c6c0067109f1c752;hp=e749e1dc984c49dc1009469a384a49910b04796e;hpb=1e3b1cc7eb42ed006304d24f3c8b24ff71b4dced;p=rust.git diff --git a/.gitattributes b/.gitattributes index e749e1dc984..cb87b5d0138 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,9 @@ * 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 + +# Older git versions try to fix line endings on images, this prevents it. +*.png binary +*.jpg binary +*.ico binary