From b8d720d06fb0fa874c48736c0b8c04e932d35d19 Mon Sep 17 00:00:00 2001 From: Clint Rutkas Date: Fri, 14 Aug 2020 11:38:10 -0700 Subject: [PATCH] Update .gitattributes to make line endings consistent (#5942) * Update .gitattributes * Update .gitattributes * Update .gitattributes --- .gitattributes | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitattributes b/.gitattributes index cab8e6ceb..833981703 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,15 @@ +############################################################################### +# Set default behavior to automatically normalize line endings. +############################################################################### +* text=auto + +*.cs text eol=crlf + +############################################################################### +# diff behavior for common document formats +# +# Convert binary document formats to text before diffing them. This feature +# is only available from the command line. Turn it on by uncommenting the +# entries below. +############################################################################### *.rc diff