diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-05-18 16:04:55 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-05-20 15:08:39 +0200 |
commit | 1396c381782f446ae5ea177b0f5c407f90197c97 (patch) | |
tree | 1ca57e2cb7d8accf2a2fbda7b04fb3d3543e8703 /include/git2/errors.h | |
parent | e3435673b8ed862266b5351b9e18cb55ed55d335 (diff) | |
download | libgit2-cmn/server-errors.tar.gz |
errors: add GIT_EEOF to indicate early EOFcmn/server-errors
This can be used by tools to show mesages about failing to communicate
with the server. The error message in this case will often contain the
server's error message, as far as it managed to send anything.
Diffstat (limited to 'include/git2/errors.h')
-rw-r--r-- | include/git2/errors.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/git2/errors.h b/include/git2/errors.h index ef4fabb7d..31fc6035a 100644 --- a/include/git2/errors.h +++ b/include/git2/errors.h @@ -45,6 +45,7 @@ typedef enum { GIT_ECERTIFICATE = -17, /**< Server certificate is invalid */ GIT_EAPPLIED = -18, /**< Patch/merge has already been applied */ GIT_EPEEL = -19, /**< The requested peel operation is not possible */ + GIT_EEOF = -20, /**< Unexpected EOF */ GIT_PASSTHROUGH = -30, /**< Internal only */ GIT_ITEROVER = -31, /**< Signals end of iteration with iterator */ |