X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.gitattributes;h=cb87b5d01385ad82c7a1658208d0a2605c7f4306;hb=c2840c809ac129e1358ab93189405e682695dd65;hp=183e9b521184ca8587588157def155945dfb7a4e;hpb=d9fb01f803671bfb6fca6b873bd140d8177ecb1c;p=rust.git diff --git a/.gitattributes b/.gitattributes index 183e9b52118..cb87b5d0138 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,9 @@ -crates/ra_syntax/test_data/** -text eof=LF -crates/ra_ide_api/src/snapshots/** -text eof=LF +* text=auto eol=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