Compact commit template message
commitfdc7c81111a2ca8d97b8b45e260d7a4e737c8766
authorJeff King <peff@peff.net>
Thu, 31 Jul 2008 07:36:09 +0000 (31 03:36 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 31 Jul 2008 18:20:13 +0000 (31 11:20 -0700)
treeb4b425ff356060a547af878077b4648c382d78b4
parentf448e24e2fe336621306b04b84e947bdd04f7ecc
Compact commit template message

We recently let the user know explicitly that an empty
commit message will abort the commit. However, this adds yet
another line to the template; let's rephrase and re-wrap so
that this fits back on two lines.

This patch also makes the "fatal: empty commit message?"
warning a bit less scary, since this is now a "feature"
instead of an error. However, we retain the non-zero exit
status to indicate to callers that nothing was committed.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit.c
t/t7502-commit.sh