From: Christian Brabandt Date: Mon, 17 Jul 2017 09:08:38 GMT Subject: Re: [PATCH] commit & merge: modularize the empty message validator Message-ID: <20170717090838.GA17826@256bit.org> In-Reply-To: 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.