Skip to content

Commit 36c9c44

Browse files
ttaylorrgitster
authored andcommitted
pack-bitmap: drop unused reuse_objects
This variable is no longer used for doing verbatim pack-reuse (or anywhere within pack-bitmap.c) since d2ea031 (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 564d025 commit 36c9c44

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pack-bitmap.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,6 @@ struct bitmap_index {
5151
struct packed_git *pack;
5252
struct multi_pack_index *midx;
5353

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-
6154
/* mmapped buffer of the whole bitmap index */
6255
unsigned char *map;
6356
size_t map_size; /* size of the mmaped buffer */

0 commit comments

Comments
 (0)