[ 
https://issues.apache.org/jira/browse/HADOOP-11923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14530926#comment-14530926
 ] 

Allen Wittenauer commented on HADOOP-11923:
-------------------------------------------

I suspect there is a much easier fix here.  

{code}
  done < <("${GIT}" diff --unified=0 --no-color)
{code}

should probably be

{code}
  done < <("${GIT}" diff --unified=0 --no-color  ${PATCH_BRANCH})
{code}


> test-patch whitespace checker doesn't flag new files
> ----------------------------------------------------
>
>                 Key: HADOOP-11923
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11923
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Sean Busbey
>            Priority: Critical
>              Labels: BB2015-05-TBR
>         Attachments: HADOOP-11923.patch
>
>
> The whitespace plugin for test-patch only examines new files. So when a patch 
> comes in with trailing whitespace on new files it doesn't flag things as a 
> problem.



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

Reply via email to