Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'po/http-push-error-message'
author
Junio C Hamano
<gitster@pobox.com>
Tue, 13 Feb 2018 21:39:14 +0000
(13:39 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 13 Feb 2018 21:39:14 +0000
(13:39 -0800)
Debugging aid.
* po/http-push-error-message:
http-push: improve error log
http-push.c
patch
|
blob
|
history
raw
(from parent 1:
0c13c4f
)
diff --git
a/http-push.c
b/http-push.c
index 14435ab65d1bbe3fc73be6a6d774b6ab6ffc8360..0913f8ab860246f990536fd20794ac6230daf50a 100644
(file)
--- a/
http-push.c
+++ b/
http-push.c
@@
-915,6
+915,10
@@
static struct remote_lock *lock_remote(const char *path, long timeout)
lock->timeout = -1;
}
XML_ParserFree(parser);
+ } else {
+ fprintf(stderr,
+ "error: curl result=%d, HTTP code=%ld\n",
+ results.curl_result, results.http_code);
}
} else {
fprintf(stderr, "Unable to start LOCK request\n");