For someone who use editor that display trailing white spaces, issuing interactive rebase will print two empty lines at the end of rebase with the last line contains tab, # However, if you remove everything, the rebase will be aborted. # #\t # Note that empty commits are commented out The character "\t" in above example is white space tab. The "make test" was run succesfully but I can't reproduce/test manually with non-empty $todo (I have no idea how to do it). Shulhan (1): git-rebase--interactive.sh: fix trailing spaces on empty $todo git-rebase--interactive.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.19.0.446.g26223adc4