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/11 07:19:00 UTC

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

    [ https://issues.apache.org/jira/browse/RANGER-2852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17132996#comment-17132996 ] 

Pradeep Agrawal commented on RANGER-2852:
-----------------------------------------

Patch committed : [https://github.com/apache/ranger/commit/12019572d2a7f77e221ccdb28cec2e58fd776141]

> 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
>            Priority: Major
>             Fix For: 2.1.0
>
>         Attachments: 0001-RANGER-2852-Add-.gitattributes-file-to-prevent-CRLF-.patch
>
>
> Source code in Ranger 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)