Aborting git rebase --edit-todo
- From
- Victor Toni <victor.toni@gmail.com>
- Date
- Sep 3, 2020, 09:39 UTC
- Message-ID
- <CAG0OSgeb0jcUmkjp+yzCPYkxQWCZFy3gYM9o7TfBGvtf4M08NQ@mail.gmail.com>
When doing a commit or choosing what to do for an interactive rebase one can just wipe the whole content of the editor, save and close to abort the action. While doing a `git rebase --edit-todo` I came to the conclusion that I would like to abort the edit and did the same. The final `git rebase --continue` got me rid of the rest of the commits... (Fortunately the "missing" commits could be rescued by looking into `.git/logs/HEAD` so thumbs up for that. ) Unfortunately the behaviour of `--edit-todo` was a bit surprising and somehow doesn't feel consistent with the other actions involving an editor.
Can this be considered a bug?
Best regards, Victor