diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2021-08-29 21:40:16 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-29 21:40:16 -0400 |
| commit | 18293385d00f4aba3c580022b183e0fe25caa741 (patch) | |
| tree | 4dd14bf2629755ca287902a905777674271608c4 /include/git2 | |
| parent | 78cd76249cb32e65860156f758d33264bf3db766 (diff) | |
| parent | 9937967efd8a1567727f1d716c1a2efb3085006c (diff) | |
| download | libgit2-18293385d00f4aba3c580022b183e0fe25caa741.tar.gz | |
Merge pull request #5395 from josharian/http-use-eauth
Use error code GIT_EAUTH for authentication failures
Diffstat (limited to 'include/git2')
| -rw-r--r-- | include/git2/errors.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/git2/errors.h b/include/git2/errors.h index 8887b3299..de51582d5 100644 --- a/include/git2/errors.h +++ b/include/git2/errors.h @@ -42,14 +42,14 @@ typedef enum { GIT_ECONFLICT = -13, /**< Checkout conflicts prevented operation */ GIT_ELOCKED = -14, /**< Lock file prevented operation */ GIT_EMODIFIED = -15, /**< Reference value does not match expected */ - GIT_EAUTH = -16, /**< Authentication error */ - GIT_ECERTIFICATE = -17, /**< Server certificate is invalid */ + GIT_EAUTH = -16, /**< Authentication error */ + 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_EINVALID = -21, /**< Invalid operation or input */ + GIT_EPEEL = -19, /**< The requested peel operation is not possible */ + GIT_EEOF = -20, /**< Unexpected EOF */ + GIT_EINVALID = -21, /**< Invalid operation or input */ GIT_EUNCOMMITTED = -22, /**< Uncommitted changes in index prevented operation */ - GIT_EDIRECTORY = -23, /**< The operation is not valid for a directory */ + GIT_EDIRECTORY = -23, /**< The operation is not valid for a directory */ GIT_EMERGECONFLICT = -24, /**< A merge conflict exists and cannot continue */ GIT_PASSTHROUGH = -30, /**< A user-configured callback refused to act */ |
