Skip to content

Commit

Permalink
Merge branch 'po/http-push-error-message'
Browse files Browse the repository at this point in the history
Debugging aid.

* po/http-push-error-message:
  http-push: improve error log
  • Loading branch information
gitster committed Feb 13, 2018
2 parents 0c13c4f + a2b9820 commit 39a1dd8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions http-push.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 39a1dd8

Please sign in to comment.