diff options
| author | Alan Rogers <alan@github.com> | 2014-05-15 16:54:46 +1000 |
|---|---|---|
| committer | Alan Rogers <alan@github.com> | 2014-05-15 16:54:46 +1000 |
| commit | 158c8ba1ee81fe20d3beb16650f30f3be02054f7 (patch) | |
| tree | c51113aff1068084dc4d1210b974241aeb8317a5 /include/git2 | |
| parent | 8d3a2d5fc58a08a22e355beaa0f9fc146facc3b3 (diff) | |
| download | libgit2-158c8ba1ee81fe20d3beb16650f30f3be02054f7.tar.gz | |
Return a specific error for EACCES.
Diffstat (limited to 'include/git2')
| -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 e22f0d86d..f09e72566 100644 --- a/include/git2/errors.h +++ b/include/git2/errors.h @@ -41,6 +41,7 @@ typedef enum { GIT_EMERGECONFLICT = -13, /*< Merge conflicts prevented operation */ GIT_ELOCKED = -14, /*< Lock file prevented operation */ GIT_EMODIFIED = -15, /*< Reference value does not match expected */ + GIT_ENOACCESS = -16, /*< Access denied attempting operation */ GIT_PASSTHROUGH = -30, /*< Internal only */ GIT_ITEROVER = -31, /*< Signals end of iteration with iterator */ |
