]> git.ipfire.org Git - thirdparty/git.git/blobdiff - pack-bitmap.h
pack-bitmap: return multiple packs via `reuse_partial_packfile_from_bitmap()`
[thirdparty/git.git] / pack-bitmap.h
index ab3fdcde6b7526b0dde39691248f6523ac843c3c..7a12a2ce81e02c1b6e825924fbe16c4da953da48 100644 (file)
@@ -78,8 +78,9 @@ int test_bitmap_hashes(struct repository *r);
 struct bitmap_index *prepare_bitmap_walk(struct rev_info *revs,
                                         int filter_provided_objects);
 uint32_t midx_preferred_pack(struct bitmap_index *bitmap_git);
-void reuse_partial_packfile_from_bitmap(struct bitmap_index *,
-                                       struct packed_git **packfile,
+void reuse_partial_packfile_from_bitmap(struct bitmap_index *bitmap_git,
+                                       struct bitmapped_pack **packs_out,
+                                       size_t *packs_nr_out,
                                        struct bitmap **reuse_out);
 int rebuild_existing_bitmaps(struct bitmap_index *, struct packing_data *mapping,
                             kh_oid_map_t *reused_bitmaps, int show_progress);