summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2014-07-09 17:47:05 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-07-10 10:53:47 -0700
commitb725b270d1474819d46161909416ef73ba2170ff (patch)
tree6d1e247e7f6ebe707a4b27c3ad6facbf041b4974 /commit.h
parentremote-curl: do not complain on EOF from parent git (diff)
downloadtgif-b725b270d1474819d46161909416ef73ba2170ff.tar.xz
remote-curl: use error instead of fprintf(stderr)
We usually prefix our error messages with "error: ", but many error messages from remote-curl are simply printed with fprintf. This can make the output a little harder to read (especially because such message may be intermingled with errors from the parent git process). There is no reason to avoid error(), as we are already calling it many places (in addition to libgit.a functions which use it). While we're adjusting the messages, we can also drop the capitalization which makes them unlike other git error messages. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions