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

Guozhang Wang commented on KAFKA-1142:
--------------------------------------

Latest RB is 16143.

After looking into it I realize that forcing a rebase would be a bit tricky, so 
instead I add a check on the branch hash to see if it has changed since the 
current working copy has generated. If yes then throw an error message.

Test passed by

1. Checkout an old version, make some changes.
2. Commit, and call kafka-path-review, it outputs:

ERROR: Your current working branch is from an older version of origin/trunk. 
Please rebase first by using git pull --rebase


> Patch review tool should take diff with origin from last divergent point
> ------------------------------------------------------------------------
>
>                 Key: KAFKA-1142
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1142
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Joel Koshy
>            Assignee: Joel Koshy
>         Attachments: KAFKA-1142.patch, KAFKA-1142.patch, KAFKA-1142.patch, 
> KAFKA-1142.patch, KAFKA-1142_2013-12-09_16:05:14.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to