You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Vinayakumar B (JIRA)" <ji...@apache.org> on 2015/07/02 12:25:04 UTC

[jira] [Created] (HADOOP-12176) smart-apply-patch.sh fails to identify git patch prefixes in some cases

Vinayakumar B created HADOOP-12176:
--------------------------------------

             Summary: smart-apply-patch.sh fails to identify git patch prefixes in some cases
                 Key: HADOOP-12176
                 URL: https://issues.apache.org/jira/browse/HADOOP-12176
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Vinayakumar B
            Assignee: Vinayakumar B


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)