From e275440093680d96ea7ece6b34d3d570d8dbcfe8 Mon Sep 17 00:00:00 2001 From: StellaArtois Date: Mon, 25 Aug 2014 18:28:22 +0100 Subject: [PATCH] Always use CR eol for patch files --- .gitattributes | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 9dd4d5b3..3384b3a7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,9 +3,11 @@ # Explicitly declare text files we want to always be normalized and converted # to native line endings on checkout. -*.patch text *.java text +# Explicitly declare text files we want to always be CR line endings on checkout. +*.patch text eol=cr + # Declare files that will always have CRLF line endings on checkout. *.sln text eol=crlf *.bat text eol=crlf