You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Enis Soztutar (JIRA)" <ji...@apache.org> on 2013/12/18 00:14:07 UTC

[jira] [Updated] (ZOOKEEPER-1847) Normalize line endings in repository

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

Enis Soztutar updated ZOOKEEPER-1847:
-------------------------------------

    Attachment: zookeeper-1847_v1.patch

Attaching a patch, which
 - adds a .gitattributes file
 - fixes all line endings to be LF 

Credit goes to Raja Aluri for the patch. 

> Normalize line endings in repository
> ------------------------------------
>
>                 Key: ZOOKEEPER-1847
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1847
>             Project: ZooKeeper
>          Issue Type: Bug
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>             Fix For: 3.5.0
>
>         Attachments: zookeeper-1847_v1.patch
>
>
> It is good practice to have all the code in the repository use the same line endings (LF) so that patches can be applied normally. We can add a gitattributes file so that checked out code can still have platform dependent line endings. 
> More readings: 
> https://help.github.com/articles/dealing-with-line-endings
> http://stackoverflow.com/questions/170961/whats-the-best-crlf-handling-strategy-with-git



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)