You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Ted Yu <yu...@gmail.com> on 2011/10/27 04:45:25 UTC

patches produced by git and patch testing

Hi,
You may have seen the following after clicking 'Submit Patch' button:

-1 patch. The patch command could not apply the patch.

Console output:
https://builds.apache.org/job/PreCommit-HBASE-Build/76//console
This was due to PreCommit script not recognizing patches produced by git.
Giri or I would make announcement once git patch is accepted.

In the meantime, you can note 'Patch ready for review' in JIRA comment.

Cheers

Re: patches produced by git and patch testing

Posted by Ted Yu <yu...@gmail.com>.
>From Todd:

Try "git show --no-prefix" or "git diff --no-prefix" instead. That way it
will apply with patch -p0 and should work in test-patch (if it's like
Hadoop's old test-patch script)

On Wed, Oct 26, 2011 at 7:45 PM, Ted Yu <yu...@gmail.com> wrote:

> Hi,
> You may have seen the following after clicking 'Submit Patch' button:
>
> -1 patch. The patch command could not apply the patch.
>
> Console output:
> https://builds.apache.org/job/PreCommit-HBASE-Build/76//console
> This was due to PreCommit script not recognizing patches produced by git.
> Giri or I would make announcement once git patch is accepted.
>
> In the meantime, you can note 'Patch ready for review' in JIRA comment.
>
> Cheers
>