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-06-20 23:44:22 +0300
committerEdward Thomson <ethomson@edwardthomson.com>2015-06-26 01:34:36 +0300
commit82b1c93d088319c4e385c11ce738b68103eab96c (patch)
treeab3c961fea42fde1a8d739be70d8744e5e8ae324 /include
parent1db6a0ab52e54397e450c2796dce65eced8c4c25 (diff)
stash: don't allow apply with staged changes
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 5ff0f35b5..a81aa05d9 100644
--- a/include/git2/errors.h
+++ b/include/git2/errors.h
@@ -47,6 +47,7 @@ typedef enum {
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_PASSTHROUGH = -30, /**< Internal only */
GIT_ITEROVER = -31, /**< Signals end of iteration with iterator */