You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Pradeep Agrawal (Jira)" <ji...@apache.org> on 2020/06/09 04:07:02 UTC

[jira] [Created] (RANGER-2852) Add .gitattributes file to prevent CRLF and LF mismatches for source and text files

Pradeep Agrawal created RANGER-2852:
---------------------------------------

             Summary: Add .gitattributes file to prevent CRLF and LF mismatches for source and text files
                 Key: RANGER-2852
                 URL: https://issues.apache.org/jira/browse/RANGER-2852
             Project: Ranger
          Issue Type: Improvement
          Components: Ranger
            Reporter: Pradeep Agrawal
            Assignee: Pradeep Agrawal


Source code in hadoop-common repo has a bunch of files that have CRLF endings.

I would like to avoid that by creating .gitattributes file which prevents sources from having CRLF entries in text files.

I am adding a couple of links here to give more primer on what exactly is the issue and how we are trying to fix it.
 # [http://git-scm.com/docs/gitattributes#_checking_out_and_checking_in]
 # [http://stackoverflow.com/questions/170961/whats-the-best-crlf-handling-strategy-with-git]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)