1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-03-03 15:02:52 +02:00
Stefan Haller 3cddd7cfa5 Don't keep commits that become empty during a rebase
The only exception is when moving a custom patch for an entire commit to an
earlier commit; in this case the source commit becomes empty, but we want to
keep it, mainly for consistency with moving the patch to a later commit, which
behaves the same.

In all other cases where we rebase, it's confusing when empty commits are kept;
the most common example is rebasing a branch onto master, where master already
contains some of the commits of our branch. In this case we simply want to drop
these.
2023-05-20 21:10:03 +02:00
..
2022-03-24 20:14:41 +11:00
2023-05-20 16:55:15 +10:00
2022-12-30 20:01:14 +09:00
2022-01-09 14:09:53 +11:00
2023-05-20 20:54:39 +10:00
2023-04-13 13:14:00 +02:00
2023-05-20 16:55:15 +10:00
2023-02-20 19:01:08 +11:00
2022-12-30 20:01:14 +09:00