[OE-core] [PATCH] create-pull-request: Fix error on 2.0 versions of git

Richard Tollerton rich.tollerton at ni.com
Fri Jul 17 16:39:58 UTC 2015


Robert Yang <liezhi.yang at windriver.com> writes:

> On 07/14/2015 05:49 PM, Burton, Ross wrote:
>>
>> On 13 July 2015 at 19:43, Richard Tollerton <rich.tollerton at ni.com
>> <mailto:rich.tollerton at ni.com>> wrote:
>>
>>     I still need to apply this patch in order to use create-pull-request.
>>     Bump?
>>
>> Not sure how this got missed, and I can't even find it in my archives, but it's
>> queued now.
>
> This patch breaks create-pull-request:
> $ ./scripts/create-pull-request -u oe-contrib -b rbt/PU -r HEAD~5
> fatal: ambiguous argument 'HEAD~5..rbt/PU': unknown revision or path not in the 
> working tree.
> Use '--' to separate paths from revisions
> fatal: Needed a single revision
> ERROR: git request-pull reported an error
>
> $ git --version
> git version 1.7.9.5
>
>
> Richard Tollerton, does Saul's fix work for you for git 2.0?
>
> commit 5ffa98a95317e6bea436e4372b9202f4da0ce2ae
> Author: Saul Wold <sgw at linux.intel.com>
> Date:   Tue Feb 3 09:08:29 2015 -0800
>
>      create-pull-request: Fix git request-pull

Eek! Yes, it seems like it does work. I think I might have
misinterpreted an error in running `create-pull-request`, then changed
the command line enough to (coincidentally) work after I reapplied the
patch.

Ross, please revert commit 7ee64ea60ede5477b2f9a355d93bdc556e6b7895. My
sincere apologies for the inconvenience.



More information about the Openembedded-core mailing list