Browse Source

HADOOP-13598. Add eol=lf for unix format files in .gitattributes. Contributed by Yiqun Lin.

(cherry picked from commit 696bc0e0abe57051470da0cbd539ddf21cc60da9)
(cherry picked from commit 3f36ac9f33def2b1face8dfa48f9691ebd2e0737)
Akira Ajisaka 8 years ago
parent
commit
f57599e458
1 changed files with 9 additions and 9 deletions
  1. 9 9
      .gitattributes

+ 9 - 9
.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