commit-msg: Preserve bad message for user to fix
Store a backup copy of the input message. Remove the backup only on success. On failure, tell the user how to use and edit the message without having to enter it from scratch.
Please register or sign in to comment