From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by mail.openembedded.org (Postfix) with ESMTP id C5BF473E3B for ; Fri, 17 Jul 2015 02:35:47 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.15.1/8.15.1) with ESMTPS id t6H2ZlBF018316 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 16 Jul 2015 19:35:47 -0700 (PDT) Received: from [128.224.162.200] (128.224.162.200) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.235.1; Thu, 16 Jul 2015 19:35:47 -0700 Message-ID: <55A86A01.1060108@windriver.com> Date: Fri, 17 Jul 2015 10:35:45 +0800 From: Robert Yang User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: "Burton, Ross" , Richard Tollerton References: <1407178549-8464-1-git-send-email-ben.shelton@ni.com> <871tgbyk2s.fsf@weregild.amer.corp.natinst.com> In-Reply-To: Cc: Ben Shelton , OE-core Subject: Re: [PATCH] create-pull-request: Fix error on 2.0 versions of git X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jul 2015 02:35:48 -0000 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit On 07/14/2015 05:49 PM, Burton, Ross wrote: > > On 13 July 2015 at 19:43, Richard Tollerton > wrote: > > Ben Shelton > 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 > > > 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 Date: Tue Feb 3 09:08:29 2015 -0800 create-pull-request: Fix git request-pull // Robert > > Ross > >