]> git.ipfire.org Git - thirdparty/git.git/blobdiff - object-store.h
packfile: compute and use the index CRC offset
[thirdparty/git.git] / object-store.h
index be72fee7d557758a9e0efbaa13efeb2b6fb84276..f439d47af81d1b8772b181cead999bba28980e21 100644 (file)
@@ -4,7 +4,7 @@
 #include "cache.h"
 #include "oidmap.h"
 #include "list.h"
-#include "sha1-array.h"
+#include "oid-array.h"
 #include "strbuf.h"
 #include "thread-utils.h"
 
@@ -70,6 +70,7 @@ struct packed_git {
        size_t index_size;
        uint32_t num_objects;
        uint32_t num_bad_objects;
+       uint32_t crc_offset;
        unsigned char *bad_object_sha1;
        int index_version;
        time_t mtime;