pack: convert struct pack_idx_entry to struct object_id
[gitweb.git] / pack.h
diff --git a/pack.h b/pack.h
index 5c2158746ed60f5c1d4f89dce04312e5992b959d..c7de42ef34a7640800480c2d9700a62bcf8b69da 100644 (file)
--- a/pack.h
+++ b/pack.h
@@ -67,7 +67,7 @@ struct pack_idx_header {
  * Common part of object structure used for write_idx_file
  */
 struct pack_idx_entry {
-       unsigned char sha1[20];
+       struct object_id oid;
        uint32_t crc32;
        off_t offset;
 };