aboutsummaryrefslogtreecommitdiffstats
path: root/packfile.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-07-15 13:29:24 +0200
committerJunio C Hamano <gitster@pobox.com>2025-07-15 12:07:30 -0700
commitec865d94d4615c00fbf9ac50f4274b1d3fbf73a6 (patch)
tree81c186dea2a578e987ba03eab2f232a140739fbb /packfile.c
parentpackfile: stop using linked MIDX list in `get_all_packs()` (diff)
downloadgit-ec865d94d4615c00fbf9ac50f4274b1d3fbf73a6.tar.gz
git-ec865d94d4615c00fbf9ac50f4274b1d3fbf73a6.zip
midx: remove now-unused linked list of multi-pack indices
In the preceding commits we have migrated all users of the linked list of multi-pack indices to instead use those stored in the object database sources. Remove those now-unused pointers. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
-rw-r--r--packfile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/packfile.c b/packfile.c
index ff33692f4b..5d73932f50 100644
--- a/packfile.c
+++ b/packfile.c
@@ -375,7 +375,6 @@ void close_object_store(struct object_database *o)
close_midx(source->midx);
source->midx = NULL;
}
- o->multi_pack_index = NULL;
close_commit_graph(o);
}