grep.c: remove implicit dependency on the_index
[gitweb.git] / pack-bitmap.h
index 19f70043a811a3878a3eb9dd7ff9bcd177dfc8c6..8a04741e1253b0ba801445a76ceb8e4937121f73 100644 (file)
@@ -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;
@@ -48,6 +51,7 @@ int reuse_partial_packfile_from_bitmap(struct bitmap_index *,
                                       uint32_t *entries, off_t *up_to);
 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 *);
 
 void bitmap_writer_show_progress(int show);
 void bitmap_writer_set_checksum(unsigned char *sha1);