Commit f9a4270b1d5b2549cb261d82ae84f68a5e0aa34c

Stefan Sperling 2017-12-03T16:48:47

add more object types (needed for pack files)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/include/got_object.h b/include/got_object.h
index 0c42f4e..20fddd2 100644
--- a/include/got_object.h
+++ b/include/got_object.h
@@ -68,6 +68,10 @@ struct got_object {
 #define GOT_OBJ_TYPE_COMMIT 	1
 #define GOT_OBJ_TYPE_TREE	2
 #define GOT_OBJ_TYPE_BLOB	3
+#define GOT_OBJ_TYPE_TAG	4
+/* 5 is reserved */
+#define GOT_OBJ_OFFSET_DELTA	6
+#define GOT_OBJ_REF_DELTA	7
 
 	size_t hdrlen;
 	size_t size;