git rebase -i and final newline

From: Steven Penny <hidden>
Date: 2016-06-15 22:55:07

Sorry if I am drumming up and old issue here. I have noticed that with
"git rebase -i", if your final line contains a commit and no newline, git
interprets that as "remove this commit please".

I feel that a commit should be removed only if the entire line is removed, that
is the commit hash and title as well as the newline.

I have noticed that the behavior is "correct" with "git commit". Even if you
omit the final newline after the commit message body, all text lines will be
included.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help