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

Re: [BUG] rebase -p loses commits

From: Andrew Wong <hidden>
Date: 2016-06-15 22:51:15

Possibly related (same subject, not in this thread)

On 05/16/2011 04:36 PM, Junio C Hamano wrote:
    F---*  feature
   /   /
  B---M    master

But what does it mean to rebase that on top of master, preserving merges
in the first place? You are already on top of 'master' and '*' itself
should be what you should get, no?  IOW, shouldn't you already be
up-to-date?
   
Since preserve-merge uses the interactive-rebase, I think 
interactive-rebase should still pick the merge commit, which will then 
be consistent with what's happening if we rebase onto "F". So, without 
knowing whether "F" or "M" is the first-parent, I think 
interactive-rebase onto "F" and onto "M" should have the same effect. 
i.e. interactive-rebase picks the merge commit
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help