From: René Scharfe Date: Sat, 11 Sep 2021 07:50:36 GMT Subject: [PATCH 0/3] packfile: use oidset for bad objects Message-ID: <4a702bfe-afd0-669a-c893-0262289c24b8@web.de> Replace the custom hash array for remembering corrupt pack entries with an oidset. This shortens and simplifies the code. packfile: convert mark_bad_packed_object() to object_id packfile: convert has_packed_and_bad() to object_id packfile: use oidset for bad objects midx.c | 13 ++++--------- object-file.c | 4 ++-- object-store.h | 4 ++-- packfile.c | 37 ++++++++++--------------------------- packfile.h | 4 ++-- 5 files changed, 20 insertions(+), 42 deletions(-) -- 2.33.0