git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cherry-pick --no-commit does not work well with --continue in case of conflicts
@ 2018-05-05 20:26 Ilya Kantor
  2018-05-06  2:53 ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Ilya Kantor @ 2018-05-05 20:26 UTC (permalink / raw)
  To: git

Somewhy cherry-pick --no-commit does not work well with --continue.

Let's say I'm copying changes w/o committing and get a conflict:

> git cherry-pick -n master..feature
error: could not apply 2c11f12... Run work

Then I fix the conflict, but cherry-pick refuses to go on:

> git add .
> git cherry-pick --continue
error: your local changes would be overwritten by cherry-pick.
fatal: cherry-pick failed

It could continue *if* I committed, but I'm --no-commit for a reason,
so I shouldn't have to commit to go on with cherry-pick.

Maybe there's a preliminary check that prevents --continue and should be fixed?

---
Best Regards,
Ilya Kantor

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

end of thread, other threads:[~2018-05-08  5:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-05 20:26 cherry-pick --no-commit does not work well with --continue in case of conflicts Ilya Kantor
2018-05-06  2:53 ` Junio C Hamano
2018-05-06  5:17   ` Ilya Kantor
2018-05-08  5:53     ` Junio C Hamano

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).