From 174071a3efd009040d4f4d3c810d8ac0cb819b85 Mon Sep 17 00:00:00 2001 From: Jethro Beekman Date: Mon, 20 Jul 2020 12:45:05 +0200 Subject: [PATCH] Update .gitattributes See rust-lang/rust#57858 --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitattributes b/.gitattributes index e749e1dc98..4cd50e4810 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,6 @@ * text=auto eol=lf crates/ra_syntax/test_data/** -text eof=LF +# Older git versions try to fix line endings on images, this prevents it. +*.png binary +*.jpg binary +*.ico binary