Comment 0 for bug 886542

Revision history for this message
Kirill Müller (krlmlr) wrote :

Sometimes I have the following use case:

---A----A'
    \
     B----C

I need to rebase both B and C against A'. This occurs after rebasing B against A' (--> B') and C against B':

---A----A'
         \
          B'----B----C

In the best case, the commits of B against B' are useless. In the worst case, conflicts are generated, which become pointless commits if resolved. I understand that this is by design; however, an option to suppress pointless commits during rebase would be great here. Or could we even, by default, ignore pointless commits with exactly one parent?