X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.gitattributes;h=ac0a71232efc9457b434da02d25cd232394d3785;hb=40d85a5f7d102d0ffba6abb5ca22df47e8778d7d;hp=0ceb3fe646cca0b882d8c1f2af0216ef9202bba1;hpb=d4048407880212bb820f85d2e06e5fc262cce897;p=rust.git diff --git a/.gitattributes b/.gitattributes index 0ceb3fe646c..ac0a71232ef 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,16 @@ +[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 +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