Skip to content

Commit 9d49c75

Browse files
committed
fixup! midx: implement writing incremental MIDX bitmaps
1 parent 01a2cba commit 9d49c75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

midx-write.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ static struct commit **find_commits_for_midx_bitmap(uint32_t *indexed_commits_nr
827827
}
828828

829829
static int write_midx_bitmap(struct write_midx_context *ctx,
830-
const char *object_dir, const char *midx_name,
830+
const char *object_dir,
831831
const unsigned char *midx_hash,
832832
struct packing_data *pdata,
833833
struct commit **commits,
@@ -1415,7 +1415,7 @@ static int write_midx_internal(const char *object_dir,
14151415
FREE_AND_NULL(ctx.entries);
14161416
ctx.entries_nr = 0;
14171417

1418-
if (write_midx_bitmap(&ctx, object_dir, midx_name.buf,
1418+
if (write_midx_bitmap(&ctx, object_dir,
14191419
midx_hash, &pdata, commits, commits_nr,
14201420
flags) < 0) {
14211421
error(_("could not write multi-pack bitmap"));

0 commit comments

Comments
 (0)