]> git.ipfire.org Git - thirdparty/git.git/blobdiff - pack-bitmap.h
Merge branch 'master' of https://github.com/vnwildman/git
[thirdparty/git.git] / pack-bitmap.h
index 8418ba8c7929ed49aec17d5a25d8d0a309f971b8..ee9792264c84c43b75fc4e8ffb66dd8c6e88bf1c 100644 (file)
@@ -14,7 +14,7 @@ struct bitmap_disk_header {
        uint16_t version;
        uint16_t options;
        uint32_t entry_count;
-       unsigned char checksum[20];
+       unsigned char checksum[GIT_MAX_RAWSZ];
 };
 
 static const char BITMAP_IDX_SIGNATURE[] = {'B', 'I', 'T', 'M'};
@@ -59,7 +59,7 @@ void free_bitmap_index(struct bitmap_index *);
  * queried to see if a particular object was reachable from any of the
  * objects flagged as UNINTERESTING.
  */
-int bitmap_has_sha1_in_uninteresting(struct bitmap_index *, const unsigned char *sha1);
+int bitmap_has_oid_in_uninteresting(struct bitmap_index *, const struct object_id *oid);
 
 void bitmap_writer_show_progress(int show);
 void bitmap_writer_set_checksum(unsigned char *sha1);