commit - f9a4270b1d5b2549cb261d82ae84f68a5e0aa34c
commit + 9b1d51628a0607649aa115d28b74ffe730fb9c78
blob - 20fddd2252e058040c8f797fa6f041d29742a680
blob + 6854ce112fc51fe9f38a696a11921af6e3dea29f
--- include/got_object.h
+++ include/got_object.h
struct got_object {
int type;
-#define GOT_OBJ_TYPE_COMMIT 1
-#define GOT_OBJ_TYPE_TREE 2
-#define GOT_OBJ_TYPE_BLOB 3
-#define GOT_OBJ_TYPE_TAG 4
+#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
+#define GOT_OBJ_TYPE_OFFSET_DELTA 6
+#define GOT_OBJ_TYPE_REF_DELTA 7
size_t hdrlen;
size_t size;