author | Jeff King <peff@peff.net> | |
Thu, 31 Jul 2008 07:36:09 +0000 (03:36 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 31 Jul 2008 18:20:13 +0000 (11:20 -0700) | ||
commit | fdc7c81111a2ca8d97b8b45e260d7a4e737c8766 | |
tree | b4b425ff356060a547af878077b4648c382d78b4 | tree | snapshot |
parent | f448e24e2fe336621306b04b84e947bdd04f7ecc | commit | diff |
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>
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 | diff | blob | history | |
t/t7502-commit.sh | diff | blob | history |