summaryrefslogtreecommitdiff
path: root/src/annotated_commit.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-08-15 18:15:23 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2015-08-15 18:15:23 +0200
commit11bca2d265d7a1136ddf3e34a39263eba6320e20 (patch)
tree4afd0a8460842b53127b2fdbec44ecd5e22b5099 /src/annotated_commit.c
parent755004eaed008779bed9e5efb8b539917dbf431b (diff)
downloadlibgit2-cmn/http-error.tar.gz
http: propagate the credentials callback's error codecmn/http-error
When we ask for credentials, the user may choose to return EUSER to indicate that an error has happened on its end and it wants to be given back control. We must therefore pass that back to the user instead of mentioning that it was on_headers_complete() that returned an error code. Since we can, we return the exact error code from the user (other than PASSTHROUGH) since it doesn't cost anything, though using other error codes aren't recommended.
Diffstat (limited to 'src/annotated_commit.c')
0 files changed, 0 insertions, 0 deletions