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

smart-apply-patch.sh fails to identify git patch prefixes in some cases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      after HADOOP-12018, git apply supported with --no-prefix.

      But for some patches this detection will identify git patch with prefix as no-prefix patch and fails to apply.

      Example case is ; If patch contains a line changed with '+++' or '---' somewhere in between. May be a javadoc update. This makes detection wrong and git apply will fail.

      Attachments

        1. HADOOP-12176-01.patch
          0.6 kB
          Vinayakumar B

        Activity

          People

            vinayakumarb Vinayakumar B
            vinayakumarb Vinayakumar B
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: