diff options
author | Patrick Steinhardt <ps@pks.im> | 2016-03-02 01:50:34 +0100 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2016-03-11 13:31:12 +0100 |
commit | 2615d0d6949c9f52e988ab649f10cf7a80c45186 (patch) | |
tree | 79b2c64b40841cd135ab1ce34e585e279593b624 /src/global.h | |
parent | 1a8c11f44356e7b1379b3bced5bbf86fce576c28 (diff) | |
download | libgit2-2615d0d6949c9f52e988ab649f10cf7a80c45186.tar.gz |
coverity: report errors when uploading tarball
Curl by default does not report errors by setting the error code.
As the upload can fail through several conditions (e.g. the rate
limit, leading to unauthorized access) we should indicate this
information in Travis CI.
To improve upon the behavior, use `--write-out=%{http_code}` to
write out the HTTP code in addition to the received body and
return an error if the code does not equal 201.
Diffstat (limited to 'src/global.h')
0 files changed, 0 insertions, 0 deletions