git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* error: cannot cherry-pick during a revert
@ 2019-08-28 23:25 Mike Hommey
  2019-08-29 15:27 ` Phillip Wood
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Hommey @ 2019-08-28 23:25 UTC (permalink / raw)
  To: git

Hi,

This just happened to me while cherry-pick'ing:

$ git cherry-pick HEAD@{1}
error: could not apply 614fe5e629b84... try
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
Recorded preimage for 'taskcluster/ci/build/linux.yml'

(... this is where I fix my conflict ...)

$ git add -u
$ git cherry-pick --continue 
error: cannot cherry-pick during a revert.
fatal: cherry-pick failed

So apparently, cherry-pick thinks it was doing a revert when it hit a
conflict?

(This is with git 2.23)

Mike

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-29 15:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-28 23:25 error: cannot cherry-pick during a revert Mike Hommey
2019-08-29 15:27 ` Phillip Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).