X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.gitattributes;h=4038db6f7dab1552abe7dc8cc7482298025ab87c;hb=52dba13e410f4f15390c83c13cb887d3f5b7b3e7;hp=0ceb3fe646cca0b882d8c1f2af0216ef9202bba1;hpb=d4048407880212bb820f85d2e06e5fc262cce897;p=rust.git diff --git a/.gitattributes b/.gitattributes index 0ceb3fe646c..4038db6f7da 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,17 @@ +[attr]rust text eol=lf whitespace=tab-in-indent,trailing-space,tabwidth=4 + * text=auto eol=lf -*.rs diff=rust +*.cpp rust +*.h rust +*.rs rust diff=rust +*.fixed linguist-language=Rust +*.mir linguist-language=Rust +src/etc/installer/gfx/* binary +*.woff binary +*.woff2 binary +src/vendor/** -text +Cargo.lock linguist-generated=false + +# Older git versions try to fix line endings on images, this prevents it. +*.png binary +*.ico binary