aboutsummaryrefslogtreecommitdiff
path: root/packfile.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-10-09 10:01:38 +0200
committerJunio C Hamano <gitster@pobox.com>2025-10-16 14:42:39 -0700
commit5b410c82768c025814af17e23cea3b7f253f111d (patch)
treedb87102e7dad169c92054fa680e9fe036502b168 /packfile.c
parentfdebc5d4da055c281f27d2fe9b2022ebdd4171d4 (diff)
downloadgit-5b410c82768c025814af17e23cea3b7f253f111d.tar.xz
packfile: drop `packfile_store_get_packs()`
In the preceding commits we have removed all remaining callers of `packfile_store_get_packs()`, the function is thus unused now. Remove it. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'packfile.c')
-rw-r--r--packfile.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/packfile.c b/packfile.c
index 5a7caec292..db748b0bd4 100644
--- a/packfile.c
+++ b/packfile.c
@@ -1027,12 +1027,6 @@ void packfile_store_reprepare(struct packfile_store *store)
packfile_store_prepare(store);
}
-struct packed_git *packfile_store_get_packs(struct packfile_store *store)
-{
- packfile_store_prepare(store);
- return store->packs;
-}
-
struct packed_git *packfile_store_get_all_packs(struct packfile_store *store)
{
packfile_store_prepare(store);