diff options
Diffstat (limited to 'pack-bitmap.h')
-rw-r--r-- | pack-bitmap.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pack-bitmap.h b/pack-bitmap.h index 4555907dee..189dd68ad3 100644 --- a/pack-bitmap.h +++ b/pack-bitmap.h @@ -5,6 +5,9 @@ #include "khash.h" #include "pack-objects.h" +struct commit; +struct rev_info; + struct bitmap_disk_header { char magic[4]; uint16_t version; @@ -50,6 +53,13 @@ int rebuild_existing_bitmaps(struct bitmap_index *, struct packing_data *mapping khash_sha1 *reused_bitmaps, int show_progress); void free_bitmap_index(struct bitmap_index *); +/* + * After a traversal has been performed by prepare_bitmap_walk(), this can be + * 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); + void bitmap_writer_show_progress(int show); void bitmap_writer_set_checksum(unsigned char *sha1); void bitmap_writer_build_type_index(struct packing_data *to_pack, |