GERRIT review / cherry-pick help

Michael Stahl mstahl at redhat.com
Thu Jul 12 07:36:45 PDT 2012


On 12/07/12 16:15, Lionel Elie Mamane wrote:
> On Thu, Jul 12, 2012 at 02:38:02PM +0200, Michael Stahl wrote:
>> On 12/07/12 14:05, Lionel Elie Mamane wrote:
> 
>>>  ./logerrit cherry-pick CHANGEID
> 
>>> This *obviously* answers
>>>  -bash: ./logerrit: No such file or directory
> 
>>> So... What am I supposed to do (except find the git commit-id from
>>> master and "git cherry-pick" that)?
> 
>> another option is to use the web UI, click on the "cherry pick" button
>> and copy paste the command which looks like this:
> 
>> git fetch https://gerrit.libreoffice.org/core refs/changes/96/296/1 &&
>> git checkout FETCH_HEAD
> 
> That looks like it checkouts in my workdir the exact tree that was
> pushed; it does not apply the change on top of my tree, which is what
> I'd expect for checking a change?

that 's because i'm an idiot and pasted the wrong command; the "cherry
pick" one is actually

git fetch https://gerrit.libreoffice.org/core refs/changes/96/296/1 &&
git cherry-pick FETCH_HEAD



More information about the LibreOffice mailing list