summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-03-30 19:14:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-03-30 19:20:00 (GMT)
commitb2eda9bdfbacdd3bb52da2ebcb468415cf153940 (patch)
tree4c2c39f109910aa25121fa11d4e4e68ead4da84d /templates
parent010c7dbcbe2e55c1dcc85f23fbe55be6d7e931f0 (diff)
downloadgit-b2eda9bdfbacdd3bb52da2ebcb468415cf153940.zip
git-b2eda9bdfbacdd3bb52da2ebcb468415cf153940.tar.gz
git-b2eda9bdfbacdd3bb52da2ebcb468415cf153940.tar.bz2
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 'templates')
0 files changed, 0 insertions, 0 deletions