I am not sure if this is a bug, or if it is by design and it’s just my limited knowledge of Git that gets me confused…
Say I have a branch with multiple commits, and another branch that splits off halfway:
A - B - C - D - E - F
\ G - H
Now if I edit commit “C” (Context menu > Edit Commit > Edit Commit Contents), then I end up with the following tree:
A - B - C' - D' - E' - F'
\ C - D - G - H
(Where C’, D’, etc contain the edit I did.)
Is this by design, or is there a bug?