aboutsummaryrefslogtreecommitdiffstats
path: root/packfile.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-07-28 14:26:31 -0700
committerJunio C Hamano <gitster@pobox.com>2025-07-28 14:26:32 -0700
commita6727995acaa7ed012de255cb79d84b51ee0eb0a (patch)
tree2e48ed51ced769f3f15ae601b74083cb6fcc1843 /packfile.h
parentMerge branch 'kn/for-each-ref-skip' into next (diff)
parentmidx: remove now-unused linked list of multi-pack indices (diff)
downloadgit-a6727995acaa7ed012de255cb79d84b51ee0eb0a.tar.gz
git-a6727995acaa7ed012de255cb79d84b51ee0eb0a.zip
Merge branch 'ps/object-store-midx' into next
Redefine where the multi-pack-index sits in the object subsystem, which recently was restructured to allow multiple backends that support a single object source that belongs to one repository. A midx does span mulitple "object sources". * ps/object-store-midx: midx: remove now-unused linked list of multi-pack indices packfile: stop using linked MIDX list in `get_all_packs()` packfile: stop using linked MIDX list in `find_pack_entry()` packfile: refactor `get_multi_pack_index()` to work on sources midx: stop using linked list when closing MIDX packfile: refactor `prepare_packed_git_one()` to work on sources midx: start tracking per object database source
Diffstat (limited to 'packfile.h')
-rw-r--r--packfile.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/packfile.h b/packfile.h
index 53c3b7d3b4..f16753f2a9 100644
--- a/packfile.h
+++ b/packfile.h
@@ -147,8 +147,7 @@ void install_packed_git(struct repository *r, struct packed_git *pack);
struct packed_git *get_packed_git(struct repository *r);
struct list_head *get_packed_git_mru(struct repository *r);
-struct multi_pack_index *get_multi_pack_index(struct repository *r);
-struct multi_pack_index *get_local_multi_pack_index(struct repository *r);
+struct multi_pack_index *get_multi_pack_index(struct odb_source *source);
struct packed_git *get_all_packs(struct repository *r);
/*