summaryrefslogtreecommitdiff
path: root/include/git2/errors.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-06-20 13:44:22 -0700
committerEdward Thomson <ethomson@edwardthomson.com>2015-06-25 18:34:36 -0400
commit82b1c93d088319c4e385c11ce738b68103eab96c (patch)
treeab3c961fea42fde1a8d739be70d8744e5e8ae324 /include/git2/errors.h
parent1db6a0ab52e54397e450c2796dce65eced8c4c25 (diff)
downloadlibgit2-82b1c93d088319c4e385c11ce738b68103eab96c.tar.gz
stash: don't allow apply with staged changes
Diffstat (limited to 'include/git2/errors.h')
-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 */