summaryrefslogtreecommitdiff
path: root/include/git2/common.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@elego.de>2011-03-28 11:31:58 +0200
committerVicent Marti <tanoku@gmail.com>2011-03-29 19:58:18 +0300
commitbaad182cbcafb2f7332ad5864695a42a0354f684 (patch)
tree42529f534bcf2d7826b091b8bc4d1ed8d92d555b /include/git2/common.h
parent6dcb09b5b57875f334f61aebed695e2e4193db5e (diff)
downloadlibgit2-baad182cbcafb2f7332ad5864695a42a0354f684.tar.gz
Add GIT_EEXISTS error code
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Diffstat (limited to 'include/git2/common.h')
-rw-r--r--include/git2/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/git2/common.h b/include/git2/common.h
index 57ab9c1ff..7d3518f82 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -161,6 +161,9 @@
/** This feature has not been implemented yet */
#define GIT_ENOTIMPLEMENTED (GIT_ERROR - 22)
+/** A refernce or object of the same name already exists */
+#define GIT_EEXISTS (GIT_ERROR - 23)
+
GIT_BEGIN_DECL
typedef struct {