aboutsummaryrefslogtreecommitdiff
path: root/block-sha1
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2015-05-04 14:18:39 -0700
committerJunio C Hamano <gitster@pobox.com>2015-05-04 14:38:15 -0700
commit95d621217a386b821d606168f986c89254584a87 (patch)
treee32ac099b5542c9f62c0037a114f3467905447c7 /block-sha1
parent3d4a3ffe64162b45ae7c991fc60623ecb4678cfd (diff)
downloadgit-95d621217a386b821d606168f986c89254584a87.tar.gz
git-95d621217a386b821d606168f986c89254584a87.tar.xz
config: use error() instead of fprintf(stderr, ...)
The die() / error() / warning() helpers put a fatal: / error: / warning: prefix in front of the error message they print describing the message's severity, which users are likely to be accustomed to seeing these days. This change will also be useful when marking the message for translation: the argument to error() includes no newline at the end, so it is less fussy for translators to translate without lines running together in the translated output. While we're here, start the error messages with a lowercase letter to match the usual typography of error messages. A quick web search and a code search at codesearch.debian.net finds no scripts trying to parse these error messages, so this change should be safe. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'block-sha1')
0 files changed, 0 insertions, 0 deletions