aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-02-06 14:31:20 -0800
committerJunio C Hamano <gitster@pobox.com>2024-02-06 14:31:20 -0800
commit00e0bc3bd739c992000913ec40e5e0785a811db0 (patch)
tree55832c26067601bd866e25d232ee4d7ea432041d
parente87557faa1f5cf07ecd9f9b2f851f307ac3859b5 (diff)
parent36c9c44fa4b5c745b24a2e6444de20df9f4a1f5c (diff)
downloadgit-00e0bc3bd739c992000913ec40e5e0785a811db0.tar.gz
Merge branch 'tb/pack-bitmap-drop-unused-struct-member'
Code clean-up. * tb/pack-bitmap-drop-unused-struct-member: pack-bitmap: drop unused `reuse_objects`
-rw-r--r--pack-bitmap.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/pack-bitmap.c b/pack-bitmap.c
index 229a11fb00..2baeabacee 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 */