You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by pr...@apache.org on 2020/08/10 07:43:23 UTC

[ranger] branch ranger-2.0 updated: RANGER-2852: Add .gitattributes file to prevent CRLF and LF mismatches for source and text files

This is an automated email from the ASF dual-hosted git repository.

pradeep pushed a commit to branch ranger-2.0
in repository https://gitbox.apache.org/repos/asf/ranger.git


The following commit(s) were added to refs/heads/ranger-2.0 by this push:
     new ccc9eaf  RANGER-2852: Add .gitattributes file to prevent CRLF and LF mismatches for source and text files
ccc9eaf is described below

commit ccc9eaf035e2173c63974f2eab0647f6782b708c
Author: pradeep <pr...@apache.org>
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