X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.gitattributes;h=a7de7ce85593c140267bd3bafa3812859d8f259f;hb=8d9187597a5e8ebcf17acba6b234884252b1a543;hp=90cf33053c77587326cfec3e29e0f6caa73db1ca;hpb=bfd11235a6a5cd2f23d5ed219ebba579b2078505;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