X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.gitattributes;h=51a670b5fbefdaf7904f1d304ea482b0543bc9a9;hb=05b7cc83707026de18dc49276db04a599781bbc2;hp=90cf33053c77587326cfec3e29e0f6caa73db1ca;hpb=be172c52f7a8878861af501d6582cc6d16ad36fe;p=rust.git diff --git a/.gitattributes b/.gitattributes index 90cf33053c7..51a670b5fbe 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,18 @@ +[attr]rust text eol=lf whitespace=tab-in-indent,trailing-space,tabwidth=4 + * text=auto eol=lf -*.rs text eol=lf whitespace=tab-in-indent,trailing-space,tabwidth=4 +*.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 +*.ico binary +*.woff binary +*.woff2 binary