You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Jarek Jarcec Cecho (JIRA)" <ji...@apache.org> on 2012/10/25 23:13:12 UTC

[jira] [Comment Edited] (SQOOP-651) adding .gitattributes to prevent CRLF and LF mismatches for source and text files

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

Jarek Jarcec Cecho edited comment on SQOOP-651 at 10/25/12 9:12 PM:
--------------------------------------------------------------------

Thanks for your comment [~raja@cmbasics.com]. It's pretty simple patch so I'll give my +1 here.

Jarcec
                
      was (Author: jarcec):
    Thanks for your comment [~raja@cmbasics.com]]. It's pretty simple patch so I'll give my +1 here.

Jarcec
                  
> adding .gitattributes to prevent CRLF and LF mismatches for source and text files
> ---------------------------------------------------------------------------------
>
>                 Key: SQOOP-651
>                 URL: https://issues.apache.org/jira/browse/SQOOP-651
>             Project: Sqoop
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.4.2, 2.0.0
>            Reporter: Raja Aluri
>         Attachments: SQOOP-651.patch
>
>
> With 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.
> Please refer to [HADOOP=8912|https://issues.apache.org/jira/browse/HADOOP-8912]

--
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