hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-8912) adding .gitattributes file to prevent CRLF and LF mismatches for source and text files
Date Fri, 12 Oct 2012 05:03:04 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-8912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Suresh Srinivas updated HADOOP-8912:
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.3-alpha
                   1-win
                   3.0.0
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

I committed the patch to trunk, branch-2 and 1-win.

Thank you for the patch Raja.
                
> adding .gitattributes file to prevent CRLF and LF mismatches for source and text files
> --------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8912
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8912
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 2.0.0-alpha, 1-win
>            Reporter: Raja Aluri
>            Assignee: Raja Aluri
>             Fix For: 3.0.0, 1-win, 2.0.3-alpha
>
>         Attachments: HADOOP-8912.branch-1-win.patch, HADOOP-8912.branch-2.patch, HADOOP-8912.trunk.patch
>
>
> Source code in hadoop-common repo has a bunch of files that have CRLF endings.
> With more development happening on windows there is a higher chance of more CRLF files
getting into the source tree.
> 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 issue for adding .gitattributes file to the tree.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message