Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8912

adding .gitattributes file to prevent CRLF and LF mismatches for source and text files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-alpha, 1-win
    • 1-win, 2.0.3-alpha
    • build
    • None

    Description

      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.

      1. http://git-scm.com/docs/gitattributes#_checking_out_and_checking_in
      2. http://stackoverflow.com/questions/170961/whats-the-best-crlf-handling-strategy-with-git

      This issue for adding .gitattributes file to the tree.

      Attachments

        1. HADOOP-8912.trunk.patch
          0.5 kB
          Raja Aluri
        2. HADOOP-8912.branch-2.patch
          0.5 kB
          Raja Aluri
        3. HADOOP-8912.branch-1-win.patch
          0.5 kB
          Raja Aluri

        Issue Links

          Activity

            People

              raja@cmbasics.com Raja Aluri
              raja@cmbasics.com Raja Aluri
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: