This is an automated email from the ASF dual-hosted git repository.
pradeep pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git
The following commit(s) were added to refs/heads/master by this push:
new 1201957 RANGER-2852: Add .gitattributes file to prevent CRLF and LF
mismatches for source and text files
1201957 is described below
commit 12019572d2a7f77e221ccdb28cec2e58fd776141
Author: pradeep <[email protected]>
AuthorDate: Wed Jun 10 14:30:33 2020 +0530
RANGER-2852: Add .gitattributes file to prevent CRLF and LF mismatches for
source and text files
---
.gitattributes | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..783358a
--- /dev/null
+++ b/.gitattributes
@@ -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