From: Junio C Hamano Date: Sun, 9 Dec 2007 07:23:20 +0000 (-0800) Subject: Fix commit-msg hook to allow editing X-Git-Tag: v1.5.4-rc0~40 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/740001a5780a12972c83c99f25c49c8d8cebdb43?hp=740001a5780a12972c83c99f25c49c8d8cebdb43 Fix commit-msg hook to allow editing The old git-commit.sh script allowed the commit-msg hook to not only prevent a commit from proceding, but also to edit the commit message on the fly and allow it to proceed. So here we teach builtin-commit to do the same. This is based on Wincent's patch, but redone with a clarified logic. Signed-off-by: Junio C Hamano ---