summaryrefslogtreecommitdiff
path: root/src/git/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/git/common.h')
-rw-r--r--src/git/common.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/git/common.h b/src/git/common.h
index 35408413d..82f08ac5d 100644
--- a/src/git/common.h
+++ b/src/git/common.h
@@ -84,6 +84,28 @@
/** The specified object has its data corrupted */
#define GIT_EOBJCORRUPTED (GIT_ERROR - 6)
+/** The specified repository is invalid */
+#define GIT_ENOTAREPO (GIT_ERROR - 7)
+
+/** The object type is invalid or doesn't match */
+#define GIT_EINVALIDTYPE (GIT_ERROR - 8)
+
+/** The object cannot be written that because it's missing internal data */
+#define GIT_EMISSINGOBJDATA (GIT_ERROR - 9)
+
+/** The packfile for the ODB is corrupted */
+#define GIT_EPACKCORRUPTED (GIT_ERROR - 10)
+
+/** Failed to adquire or release a file lock */
+#define GIT_EFLOCKFAIL (GIT_ERROR - 11)
+
+/** The Z library failed to inflate/deflate an object's data */
+#define GIT_EZLIB (GIT_ERROR - 12)
+
+/** The queried object is currently busy */
+#define GIT_EBUSY (GIT_ERROR - 13)
+
+
GIT_BEGIN_DECL
/**