Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-07-11 19:51:36 +0300
committerCarlos Martín Nieto <cmn@dwim.me>2015-07-12 13:11:22 +0300
commit8a52ed7a482935c74dbb24358e21811dfa6d91c2 (patch)
treec3a5efd20c89d45a6a8bebfa3c3e1d34d772338c /include
parenta522d8c1e72b3875805750cba9556fd303b9c8b2 (diff)
errors: add EDIRECTORY
This is to be returned when the operation which the user asked for is not possible to do on a directory.
Diffstat (limited to 'include')
-rw-r--r--include/git2/errors.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/git2/errors.h b/include/git2/errors.h
index a81aa05d9..e189e55f1 100644
--- a/include/git2/errors.h
+++ b/include/git2/errors.h
@@ -48,6 +48,7 @@ typedef enum {
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_PASSTHROUGH = -30, /**< Internal only */
GIT_ITEROVER = -31, /**< Signals end of iteration with iterator */