commit: document the temporary commit message file
authorJeff King <peff@peff.net>
Mon, 23 Jul 2012 21:13:12 +0000 (17:13 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Jul 2012 22:10:36 +0000 (15:10 -0700)
We do not document COMMIT_EDITMSG at all, but users may want
to know about it for two reasons:

1. They may want to tell their editor to configure itself
for formatting a commit message.

2. If a commit is aborted by an error, the user may want
to recover the commit message they typed.

Let's put a note in git-commit(1).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found