diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-05-02 13:53:35 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-05-02 13:53:35 -0700 |
commit | 2fa4fff4b9ba9998685c0b38cbadb49ac38734ce (patch) | |
tree | e82c022130c637a6892b11843e5a89178c032908 /http-push.c | |
parent | 29c2a3dbadaa1c2d1128a4892241f82f5b34778c (diff) | |
parent | 5eaeda70de1e7763d070e8ccfbcd8ca10baea800 (diff) | |
download | git-2fa4fff4b9ba9998685c0b38cbadb49ac38734ce.tar.gz |
Merge branch 'pw/message-cleanup'
Many error/warning messages had extra trailing newlines that are
unnecessary.
By Pete Wyckoff
* pw/message-cleanup:
remove blank filename in error message
remove superfluous newlines in error messages
Diffstat (limited to 'http-push.c')
-rw-r--r-- | http-push.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/http-push.c b/http-push.c index f22f7e43ca..1df7ab5670 100644 --- a/http-push.c +++ b/http-push.c @@ -1108,7 +1108,7 @@ static void handle_remote_ls_ctx(struct xml_ctx *ctx, int tag_closed) if (repo->path) url = repo->path; if (strncmp(path, url, repo->path_len)) - error("Parsed path '%s' does not match url: '%s'\n", + error("Parsed path '%s' does not match url: '%s'", path, url); else { path += repo->path_len; @@ -1702,7 +1702,7 @@ static int delete_remote_branch(const char *pattern, int force) run_active_slot(slot); free(url); if (results.curl_result != CURLE_OK) - return error("DELETE request failed (%d/%ld)\n", + return error("DELETE request failed (%d/%ld)", results.curl_result, results.http_code); } else { free(url); |