summaryrefslogtreecommitdiff
path: root/pack-bitmap.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2021-09-09 19:56:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-09-10 00:32:37 (GMT)
commitbfbb60d328426f0fcc708e2da13d0063ba63e9db (patch)
treede76358914bb008a984d302325b69479797d1121 /pack-bitmap.h
parent2d595973330765aca43bd4809c55ac0e66e7236f (diff)
downloadgit-bfbb60d328426f0fcc708e2da13d0063ba63e9db.zip
git-bfbb60d328426f0fcc708e2da13d0063ba63e9db.tar.gz
git-bfbb60d328426f0fcc708e2da13d0063ba63e9db.tar.bz2
pack-bitmap: drop repository argument from prepare_midx_bitmap_git()
We never look at the repository argument which is passed. This makes sense, since the multi_pack_index struct already tells us everything we need to access the files in its associated object directory. Signed-off-by: Jeff King <peff@peff.net> Reviewed-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-bitmap.h')
-rw-r--r--pack-bitmap.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/pack-bitmap.h b/pack-bitmap.h
index 81664f9..469090b 100644
--- a/pack-bitmap.h
+++ b/pack-bitmap.h
@@ -44,8 +44,7 @@ typedef int (*show_reachable_fn)(
struct bitmap_index;
struct bitmap_index *prepare_bitmap_git(struct repository *r);
-struct bitmap_index *prepare_midx_bitmap_git(struct repository *r,
- struct multi_pack_index *midx);
+struct bitmap_index *prepare_midx_bitmap_git(struct multi_pack_index *midx);
void count_bitmap_commit_list(struct bitmap_index *, uint32_t *commits,
uint32_t *trees, uint32_t *blobs, uint32_t *tags);
void traverse_bitmap_commit_list(struct bitmap_index *,