diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-03-30 12:14:33 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-03-30 12:20:00 -0700 |
commit | b2eda9bdfbacdd3bb52da2ebcb468415cf153940 (patch) | |
tree | 4c2c39f109910aa25121fa11d4e4e68ead4da84d /gitweb/README | |
parent | commit: do not trigger bogus "has templated message edited" check (diff) | |
download | tgif-b2eda9bdfbacdd3bb52da2ebcb468415cf153940.tar.xz |
commit: rephrase the error when user did not touch templated log message
When the user exited editor without editing the commit log template given
by "git commit -t <template>", the commit was aborted (correct) with an
error message that said "due to empty commit message" (incorrect).
This was because the original template support was done by piggybacking on
the check to detect an empty log message. Split the codepaths into two
independent checks to clarify the error.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/README')
0 files changed, 0 insertions, 0 deletions