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:09:00 UTC
[jira] [Updated] (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:all-tabpanel ]
Pradeep Agrawal updated RANGER-2852:
------------------------------------
Description:
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]
was:
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]
> 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
>
> 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)