]> git.lizzy.rs Git - rust.git/blobdiff - .gitattributes
Rollup merge of #78882 - bjorn3:nicer_hunk_headers, r=Mark-Simulacrum
[rust.git] / .gitattributes
index 796afdbde90dd6bb39255963b27a217aad32947f..2c5c37007d5bc1c2dc03adaeff3ba6399ba67fa1 100644 (file)
@@ -1,5 +1,15 @@
 [attr]rust text eol=lf whitespace=tab-in-indent,trailing-space,tabwidth=4
 
 * text=auto eol=lf
-*.rs rust
+*.cpp rust
+*.h rust
+*.rs rust diff=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