pack-bitmap: drop unused `reuse_objects`
This variable is no longer used for doing verbatim pack-reuse (or anywhere within pack-bitmap.c) since d2ea031046 (pack-bitmap: don't rely on bitmap_git->reuse_objects, 2019-12-18). Remove it to avoid an unused struct member. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Taylor Blau committed
Jan 26, 2024 at 23:00 UTC
36c9c44fa4b5c745b24a2e6444de20df9f4a1f5c
1 file changed
-7
pack-bitmap.c
-7
@@ -51,13 +51,6 @@ struct bitmap_index {
51
struct packed_git *pack;
52
struct multi_pack_index *midx;
53
54
- /*
55
- * Mark the first `reuse_objects` in the packfile as reused:
56
- * they will be sent as-is without using them for repacking
57
- * calculations
58
- */
59
- uint32_t reuse_objects;
60
-
54
/* mmapped buffer of the whole bitmap index */
55
unsigned char *map;
56
size_t map_size; /* size of the mmaped buffer */