Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-3839

adding .gitattributes file for normalizing line endings during cross platform development

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.11.0
    • None
    • None

    Description

      On the lines of HADOOP-8912 .
      Many developers clone the apache/hive git repository to make changes.
      Adding a .gitattributes file will help in doing the right thing while checking out files on Windows (eg- adding \r\n on checkout of most text files, preserving \n in case of *.sh files ), and replacing \r\n with \n while checking in code back into a git repository.

      Attachments

        1. HIVE-3839.1.patch
          0.6 kB
          Thejas Nair

        Activity

          People

            thejas Thejas Nair
            thejas Thejas Nair
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: