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:
authorEdward Thomson <ethomson@edwardthomson.com>2015-07-24 23:04:20 +0300
committerEdward Thomson <ethomson@edwardthomson.com>2015-07-24 23:04:20 +0300
commit759b2230a522df47640808cb0b21346cc824f6ff (patch)
tree2b91eae8b3536ddc2ed6c6b88ae175a92fcdc094 /include
parent91dad181439e0ea59bb84f8af9d7e144646f20c1 (diff)
parent247d27c2c6868e808191e6090056ecece6da30c4 (diff)
Merge pull request #3303 from libgit2/cmn/index-add-submodule
Allow adding a submodule through git_index_add_bypath
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 */