HADOOP-8912. Add .gitattributes file to prevent CRLF and LF mismatches for source and text files. Contributed by Raja Aluri.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1397437 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
94ed14c48c
commit
1dd6522903
18
.gitattributes
vendored
Normal file
18
.gitattributes
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
# 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
|
||||
|
||||
*.sh text eol=lf
|
||||
|
||||
*.bat text eol=crlf
|
||||
*.csproj text merge=union eol=crlf
|
||||
*.sln text merge=union eol=crlf
|
Loading…
Reference in New Issue
Block a user