From 7b53a8ba3c212c97ac0a725103c703a329cd73cf Mon Sep 17 00:00:00 2001 From: "Lin, Jerry (jl319x)" Date: Wed, 22 Feb 2017 16:32:52 -0500 Subject: [PATCH] add to ignore the line ending differences. Change-Id: I8ce2034ab9b0f27013d24c5ab7f92076d9cab69a Signed-off-by: Lin, Jerry (jl319x) --- .gitattributes | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..2f108b8 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,14 @@ +# Set the default behavior, in case people don't have core.autocrlf set. +* text=auto + +# Explicitly declare text files you want to always be normalized and converted +# to native line endings on checkout. +*.java text eol=crlf +*.sh text eol=crlf +*.pl text eol=crlf +*.json text eol=crlf +*.properties text eol=crlf +*.xml text eol=crlf +*.xsd text eol=crlf +*.txt text eol=crlf + -- 2.16.6