Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1847

Normalize line endings in repository

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • 3.5.0
    • None
    • None

    Description

      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

      Attachments

        1. zookeeper-1847_v1.patch
          581 kB
          Enis Soztutar

        Activity

          People

            enis Enis Soztutar
            enis Enis Soztutar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: