From 3f36ac9f33def2b1face8dfa48f9691ebd2e0737 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Wed, 14 Sep 2016 11:14:31 +0900 Subject: [PATCH] HADOOP-13598. Add eol=lf for unix format files in .gitattributes. Contributed by Yiqun Lin. (cherry picked from commit 696bc0e0abe57051470da0cbd539ddf21cc60da9) --- .gitattributes | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitattributes b/.gitattributes index 9a4ca702992..33aa676715c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,15 +1,15 @@ # Auto detect text files and perform LF normalization * text=auto -*.cs text diff=csharp -*.java text diff=java -*.html text diff=html -*.py text diff=python -*.pl text diff=perl -*.pm text diff=perl -*.css text -*.js text -*.sql text +*.cs text diff=csharp eol=lf +*.java text diff=java eol=lf +*.html text diff=html eol=lf +*.py text diff=python eol=lf +*.pl text diff=perl eol=lf +*.pm text diff=perl eol=lf +*.css text eol=lf +*.js text eol=lf +*.sql text eol=lf *.sh text eol=lf