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