X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.gitattributes;h=3b3d2d0d656d32c909b61bfbeb33b4bbb1b36387;hb=cb8a3be2a158466abe984c4d8448775983a6f388;hp=183e9b521184ca8587588157def155945dfb7a4e;hpb=e811be0fdca02b8aafc5da0109c655030232b4af;p=rust.git diff --git a/.gitattributes b/.gitattributes index 183e9b52118..3b3d2d0d656 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,8 @@ -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 +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