git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cherry-pick '-m' curiosity
@ 2018-02-05 11:46 Sergey Organov
  2018-02-05 19:55 ` Junio C Hamano
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Sergey Organov @ 2018-02-05 11:46 UTC (permalink / raw)
  To: git

Hello,

$ git help cherry-pick

-m parent-number, --mainline parent-number
           Usually you cannot cherry-pick a merge because you do not
           know which side of the merge should be considered the
           mainline.

Isn't it always the case that "mainline" is the first parent, as that's
how "git merge" happens to work?

Is, say, "-m 2" ever useful?

-- 
Sergey

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

end of thread, other threads:[~2018-02-20 16:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-05 11:46 cherry-pick '-m' curiosity Sergey Organov
2018-02-05 19:55 ` Junio C Hamano
2018-02-06 13:05   ` Sergey Organov
2018-02-05 22:03 ` Stefan Beller
2018-02-06  9:25   ` Sergey Organov
2018-02-19 21:39 ` G. Sylvie Davies
2018-02-20 16:23   ` Sergey Organov

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