diff options
| author | Alan Rogers <alan@github.com> | 2014-05-21 22:54:34 +1000 |
|---|---|---|
| committer | Alan Rogers <alan@github.com> | 2014-05-21 22:54:34 +1000 |
| commit | 86c9d3dae2561405ec98506e6e72bf845c8315c1 (patch) | |
| tree | 5ebc08854a55ec991cd3c2f662db32a2b60c92c8 /include/git2 | |
| parent | 61bef72dc35c593e632dc2008c4eec271a264869 (diff) | |
| download | libgit2-86c9d3dae2561405ec98506e6e72bf845c8315c1.tar.gz | |
Return GIT_FILEMODE_UNREADABLE for files that fail to stat.
Diffstat (limited to 'include/git2')
| -rw-r--r-- | include/git2/errors.h | 1 | ||||
| -rw-r--r-- | include/git2/types.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/errors.h b/include/git2/errors.h index 3fb3f5635..e22f0d86d 100644 --- a/include/git2/errors.h +++ b/include/git2/errors.h @@ -41,7 +41,6 @@ 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_EUNREADABLE = -16, /*< File or folder is unreadable */ GIT_PASSTHROUGH = -30, /*< Internal only */ GIT_ITEROVER = -31, /*< Signals end of iteration with iterator */ diff --git a/include/git2/types.h b/include/git2/types.h index 1b6f4cca1..6522ea40a 100644 --- a/include/git2/types.h +++ b/include/git2/types.h @@ -204,6 +204,7 @@ typedef enum { GIT_FILEMODE_BLOB_EXECUTABLE = 0100755, GIT_FILEMODE_LINK = 0120000, GIT_FILEMODE_COMMIT = 0160000, + GIT_FILEMODE_UNREADABLE = 0170000, } git_filemode_t; typedef struct git_refspec git_refspec; |
