]> git.ipfire.org Git - thirdparty/git.git/commit - midx.h
midx: pass a repository pointer
authorDerrick Stolee <dstolee@microsoft.com>
Mon, 29 Apr 2019 16:18:55 +0000 (09:18 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 May 2019 04:48:41 +0000 (13:48 +0900)
commit64404a24cf60761baba0e04a337c419f0e86c0f9
tree78911ffb0018c9ee400b7cf92e921d76967c9256
parent83232e38648b51abbcbdb56c94632b6906cc85a6
midx: pass a repository pointer

Much of the multi-pack-index code focuses on the multi_pack_index
struct, and so we only pass a pointer to the current one. However,
we will insert a dependency on the packed_git linked list in a
future change, so we will need a repository reference. Inserting
these parameters is a significant enough change to split out.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/multi-pack-index.c
builtin/pack-objects.c
midx.c
midx.h
packfile.c