Thread (9 messages) flat view 9 messages, 7 authors, 2016-06-15

Re: cherry-pick --since ?

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:06

Brandon Casey [off-list ref] writes:
Is there functionality to allow something akin to
a
   git cherry-pick --since <commit>

or maybe syntax similar to git cherry where the upstream, head,
and limit can be specified. Or the .. syntax would work.


Here's my use case:

Two branches, 'A' and 'B'.
'A' is the master branch.
'B' was forked some time ago and is in bug fix only mode.
Much of 'A' and 'B' are still the same, but there have been
  some intrusive changes made to 'A' that should not go into 'B'.
You forgot to say "My objective is to make sure all the good
fixes in B are forward ported to A" but I am assuming that is
the case.
  This is also why I can't just pull from 'B'. rebase may work,
  but then of course all of the commit id's change.
I do not understand why you cannot merge 'B' into 'A'.  From the
commit ancestry perspective, merging is exactly the right thing
to do if your goal is to forward port all fixes in B to A.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help