On 07/14/2015 05:49 PM, Burton, Ross wrote:

On 13 July 2015 at 19:43, Richard Tollerton <[email protected]
<mailto:[email protected]>> wrote:

    Ben Shelton <[email protected] <mailto:[email protected]>> writes:

     > On 2.0 versions of git, the create-pull-request script exits with the
     > warning "No match for commit... Are you sure you pushed 'HEAD' there?".
     >
     > This is due to a change in behavior where git used to guess the branch
     > you meant, but no longer does.  See the thread at
     > http://www.spinics.net/lists/git/msg233050.html for more information.
     >
     > To accommodate the new behavior, if the COMMIT_ID is set to the default
     > of "HEAD", make it point explicitly to $BRANCH instead.
     >
     > Signed-off-by: Ben Shelton <[email protected] 
<mailto:[email protected]>>

    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 <[email protected]>
Date:   Tue Feb 3 09:08:29 2015 -0800

    create-pull-request: Fix git request-pull



// Robert


Ross


--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to