X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.gitattributes;h=a7de7ce85593c140267bd3bafa3812859d8f259f;hb=ac4f7deb2f3558d2d923fa6ddcbb7210db9c2d52;hp=90cf33053c77587326cfec3e29e0f6caa73db1ca;hpb=0441525690640ff374313fa5651a97829b0ea85a;p=rust.git diff --git a/.gitattributes b/.gitattributes index 90cf33053c7..a7de7ce8559 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,15 @@ +[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 *.fixed 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