X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.gitattributes;h=51a670b5fbefdaf7904f1d304ea482b0543bc9a9;hb=fe26182281f3f43e2dd237e9c0335da9059c9959;hp=3b3d2d0d656d32c909b61bfbeb33b4bbb1b36387;hpb=d401f2a062ffc4b458f158f535478d6cc8d09f44;p=rust.git diff --git a/.gitattributes b/.gitattributes index 3b3d2d0d656..51a670b5fbe 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,8 +1,18 @@ +[attr]rust text eol=lf whitespace=tab-in-indent,trailing-space,tabwidth=4 + * 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. +*.cpp rust +*.h rust +*.rs rust diff=rust +*.fixed linguist-language=Rust +*.mir linguist-language=Rust +src/etc/installer/gfx/* binary +src/vendor/** -text +Cargo.lock linguist-generated=false +config.toml.example linguist-language=TOML + +# Older git versions try to fix line endings on images and fonts, this prevents it. *.png binary -*.jpg binary *.ico binary +*.woff binary +*.woff2 binary