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