mirror of
https://github.com/git/git.git
synced 2024-11-30 21:44:02 +08:00
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>
This commit is contained in:
parent
564d0252ca
commit
36c9c44fa4
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user