aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-02-13 14:44:50 -0800
committerJunio C Hamano <gitster@pobox.com>2024-02-13 14:44:51 -0800
commit08b7e46bb1a6d02b906efce9a52fc29f0d8e1bce (patch)
treefd8d61db07906a5b9f6f5fd321e8574084c0b860
parent8f1c4a7db1bb9aff15573b152a2e08aeb75cd012 (diff)
parent36c9c44fa4b5c745b24a2e6444de20df9f4a1f5c (diff)
downloadgit-08b7e46bb1a6d02b906efce9a52fc29f0d8e1bce.tar.gz
Merge branch 'tb/pack-bitmap-drop-unused-struct-member' into maint-2.43
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 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 */