Thread (12 messages) flat view 12 messages, 5 authors, 2016-09-23

Re: Limitiations of git rebase --preserve-merges --interactive

From: Kevin Daudt <hidden>
Date: 2016-09-22 19:49:08

On Thu, Sep 22, 2016 at 07:33:11PM +0000, Anatoly Borodin wrote:
Hi Stefan,

this section was added to the manual in the commit
cddb42d2c58a9de9b2b5ef68817778e7afaace3e by "Jonathan Nieder"
[off-list ref] 6 years ago. Maybe he remembers better?
Just to make it clear, this section explicitly talks about 'bugs' with
preserve-merges and interactive rebase.  Without the --preserve-merges
option, those operations works as expected.

The reason, as that section explains, is that it's not possible to store
the merge structure in the flat todo list. I assume this means git
internally remembers where the merge commit was, and then restores it
while rebasing.

Changing the order, or dropping commits might then give unexpected
results.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help