aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2024-01-26 23:00:50 -0500
committerJunio C Hamano <gitster@pobox.com>2024-01-29 09:26:17 -0800
commit36c9c44fa4b5c745b24a2e6444de20df9f4a1f5c (patch)
tree21a4098a334acb1793866679b838b5fd79c67690
parent564d0252ca632e0264ed670534a51d18a689ef5d (diff)
downloadgit-36c9c44fa4b5c745b24a2e6444de20df9f4a1f5c.tar.gz
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>
-rw-r--r--pack-bitmap.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/pack-bitmap.c b/pack-bitmap.c
index 0260890341..c88dd35bdc 100644
--- a/pack-bitmap.c
+++ b/pack-bitmap.c
@@ -51,13 +51,6 @@ struct bitmap_index {
struct packed_git *pack;
struct multi_pack_index *midx;
- /*
- * Mark the first `reuse_objects` in the packfile as reused:
- * they will be sent as-is without using them for repacking
- * calculations
- */
- uint32_t reuse_objects;
-
/* mmapped buffer of the whole bitmap index */
unsigned char *map;
size_t map_size; /* size of the mmaped buffer */