diff options
author | Jeff King <peff@peff.net> | 2013-04-05 18:22:01 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-06 18:56:45 -0700 |
commit | 39a570f26c953e8277a6a26c00da657b240dcdd4 (patch) | |
tree | 1e3aaf554d71abf2d7f1221522af74cd6a155f73 /t/t5100/info-from.in | |
parent | http: simplify http_error helper function (diff) | |
download | tgif-39a570f26c953e8277a6a26c00da657b240dcdd4.tar.xz |
http: re-word http error message
When we report an http error code, we say something like:
error: The requested URL reported failure: 403 Forbidden while accessing http://example.com/repo.git
Everything between "error:" and "while" is written by curl,
and the resulting sentence is hard to read (especially
because there is no punctuation between curl's sentence and
the remainder of ours). Instead, let's re-order this to give
better flow:
error: unable to access 'http://example.com/repo.git: The requested URL reported failure: 403 Forbidden
This is still annoyingly long, but at least reads more
clearly left to right.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100/info-from.in')
0 files changed, 0 insertions, 0 deletions