• J
    remote-curl: use error instead of fprintf(stderr) · b725b270
    Jeff King 提交于
    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: NJeff King <peff@peff.net>
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    b725b270
remote-curl.c 24.2 KB