]> git.ipfire.org Git - thirdparty/git.git/commit
t3404: todo list with commented-out commands only aborts
authorAlban Gruin <alban.gruin@gmail.com>
Fri, 10 Aug 2018 16:51:37 +0000 (18:51 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Aug 2018 18:56:22 +0000 (11:56 -0700)
commitd078c39106895b26512ca6b259d66fe64b274e1b
tree0d2279352e372738da5be4ef3680616987b075a6
parentd4ed5d7713c779487a52d30e83185a056c4bf023
t3404: todo list with commented-out commands only aborts

If the todo list generated by `--make-script` is empty,
complete_action() writes a noop, but if it has only commented-out
commands, it will abort with the message "Nothing to do", and does not
launch the editor.  This adds a new test to ensure that
complete_action() behaves this way.

Signed-off-by: Alban Gruin <alban.gruin@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3404-rebase-interactive.sh