The refactoring in
90b2bb710d (midx: extract bitmap write setup,
2022-07-19) hoisted our call to find_commits_for_midx_bitmap() into the
caller, which means we no longer need to see the refs_snapshot at all.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
struct commit **commits,
uint32_t commits_nr,
uint32_t *pack_order,
- const char *refs_snapshot,
unsigned flags)
{
int ret, i;
if (write_midx_bitmap(midx_name.buf, midx_hash, &pdata,
commits, commits_nr, ctx.pack_order,
- refs_snapshot, flags) < 0) {
+ flags) < 0) {
error(_("could not write multi-pack bitmap"));
result = 1;
goto cleanup;