On Do, 13 Jul 2017, Junio C Hamano wrote:
I think many people know about and do use the "delete all lines"
(i.e. ":1,$d" in vi, or \M-< \C-SPC \M-> \C-w in Emacs) to abort out
of a commit or a merge. I just do not think it is likely for them
to leave Sign-off lines and remove everything else, which is more
work than to delete everything, hence my reaction.
In Vim you can also abort the commit message using :cq which exits the
editor with an error code.
Best,
Christian
--
Das Werk soll den Meister loben.