summaryrefslogtreecommitdiff
path: root/include/git2/errors.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2014-02-07 16:05:19 -0800
committerRussell Belfer <rb@github.com>2014-02-07 16:05:19 -0800
commit57c47af107b45b73a46a1d157f8f758edd536bc7 (patch)
tree2a5cf573ff12176fbe82462dbf2fc2a830c3a5ab /include/git2/errors.h
parent3158e2febe87787dc7804b5670f4dc53aeca87ed (diff)
parent5367ec4b84dc3b4ff3ff441347ce07d6065dd759 (diff)
downloadlibgit2-57c47af107b45b73a46a1d157f8f758edd536bc7.tar.gz
Merge pull request #2042 from libgit2/cmn/conditional-ref
refs: conditional ref updates
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 973d56003..bcf2f80ab 100644
--- a/include/git2/errors.h
+++ b/include/git2/errors.h
@@ -40,6 +40,7 @@ typedef enum {
GIT_EINVALIDSPEC = -12, /*< Name/ref spec was not in a valid format */
GIT_EMERGECONFLICT = -13, /*< Merge conflicts prevented operation */
GIT_ELOCKED = -14, /*< Lock file prevented operation */
+ GIT_EMODIFIED = -15, /*< Reference value does not match expected */
GIT_PASSTHROUGH = -30, /*< Internal only */
GIT_ITEROVER = -31, /*< Signals end of iteration with iterator */