about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorjethrogb <github@jbeekman.nl>2020-01-13 20:06:54 -0800
committerWho? Me?! <mark-i-m@users.noreply.github.com>2020-01-13 22:15:32 -0600
commitd2cea2458cb11ee8783052cde539c3621e08afc5 (patch)
tree9ddb3d58bd924fcb526c0b5ac32f08d4db5af1fb /src/doc/rustc-dev-guide
parent6e0c4958d7c2df9a009694dbaebc6f8e08416698 (diff)
downloadrust-d2cea2458cb11ee8783052cde539c3621e08afc5.tar.gz
rust-d2cea2458cb11ee8783052cde539c3621e08afc5.zip
Update .gitattributes
See https://github.com/rust-lang/rust/pull/57858
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/.gitattributes5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/.gitattributes b/src/doc/rustc-dev-guide/.gitattributes
index d56abbf3047..fd394480f15 100644
--- a/src/doc/rustc-dev-guide/.gitattributes
+++ b/src/doc/rustc-dev-guide/.gitattributes
@@ -1,2 +1,7 @@
 # Set the default behavior, in case people don't have core.autocrlf set.
 * text=auto eol=lf
+
+# Older git versions try to fix line endings on images, this prevents it.
+*.png binary
+*.jpg binary
+*.ico binary