Well, it's up to emacs whether to make a backup file or not when saving. There's a variable which could be used to turn this on (or off).
I suppose we could look for typical backups of the temporary file and delete them too when it's deleted.
Perhaps better would be to store the message file in $TMPDIR and only copy it to the working directory after editing is complete, so that it's saved if the commit is interruped.
Well, it's up to emacs whether to make a backup file or not when saving. There's a variable which could be used to turn this on (or off).
I suppose we could look for typical backups of the temporary file and delete them too when it's deleted.
Perhaps better would be to store the message file in $TMPDIR and only copy it to the working directory after editing is complete, so that it's saved if the commit is interruped.