Skip to content

Commit

Permalink
RANGER-2852: Add .gitattributes file to prevent CRLF and LF mismatche…
Browse files Browse the repository at this point in the history
…s for source and text files
  • Loading branch information
pradeepagrawal8184 committed Jun 11, 2020
1 parent 734485d commit 1201957
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Auto detect text files and perform LF normalization
* text=auto

*.java text diff=java eol=lf
*.html text diff=html eol=lf
*.py text diff=python eol=lf
*.css text eol=lf
*.js text eol=lf
*.sql text eol=lf
*.sh text eol=lf
*.xml text eol=lf
*.txt text eol=lf
*.json text eol=lf
*.jsp text eol=lf
*.csv text eol=lf
*.properties text eol=lf

0 comments on commit 1201957

Please sign in to comment.