<div dir="ltr">Hi all,<div><br></div><div style>I have problems incorporating the changes suggested by Thomas Arnhold in Change-Id: I98c1ffcb.</div><div style><br></div><div style>I tried the following (following the wiki and Winfried's question regarding this <a href="http://nabble.documentfoundation.org/how-to-submit-a-patch-set-2-or-greater-to-gerrit-td4027094.html">http://nabble.documentfoundation.org/how-to-submit-a-patch-set-2-or-greater-to-gerrit-td4027094.html</a>):</div>

<div style><br></div><div style><div>philipp@styx libo$ ./logerrit cherry-pick I98c1ffcb4</div><div>From ssh://logerrit/core</div><div> * branch            refs/changes/39/2539/2 -> FETCH_HEAD</div><div># On branch master</div>

<div># Your branch is ahead of 'origin/master' by 4 commits.</div><div>#   (use "git push" to publish your local commits)</div><div>#</div><div># You are currently cherry-picking.</div><div>#   (all conflicts fixed: run "git commit")</div>

<div>#</div><div># Changes not staged for commit:</div><div>#   (use "git add <file>..." to update what will be committed)</div><div>#   (use "git checkout -- <file>..." to discard changes in working directory)</div>

<div>#</div><div>#<span class="" style="white-space:pre">   </span>modified:   sc/source/core/data/dociter.cxx</div><div>#</div><div>no changes added to commit (use "git add" and/or "git commit -a")</div>

<div>The previous cherry-pick is now empty, possibly due to conflict resolution.</div><div>If you wish to commit it anyway, use:</div><div><br></div><div>    git commit --allow-empty</div><div><br></div><div>Otherwise, please use 'git reset'</div>

<div>philipp@styx libo$ git commit -a --amend && ./logerrit submit</div><div>fatal: You are in the middle of a cherry-pick -- cannot amend.</div><div><br></div><div style>I tried to git reset --hard and do the cherry-pick + editing + git commit --amend again, but to no avail. I always end up with "fatal: You are in the middle of a cherry-pick -- cannot amend."</div>

<div><br></div><div style>Any help much appreciated.</div><div style><br></div><div style>I really should've used branches like in the wiki. :-/</div><div style><br></div><div style>Regards,</div><div style>Philipp</div>

<div><br></div></div></div>