summaryrefslogtreecommitdiff
path: root/contrib/git-shell-commands/help
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-07-15 13:29:19 +0200
committerJunio C Hamano <gitster@pobox.com>2025-07-15 12:07:28 -0700
commitec4380f446b76e931002481f3e4be520c77058b6 (patch)
treeaafaa6127563d11cc5723298a34f79bdcf9f99f1 /contrib/git-shell-commands/help
parent4d8be89d973b69a826911385c5cf3d40d347394b (diff)
packfile: refactor `prepare_packed_git_one()` to work on sources
In the preceding commit we refactored how we load multi-pack indices to take a corresponding "source" as input. As part of this refactoring we started to store a pointer to the MIDX in `struct odb_source` itself. Refactor loading of packfiles in the same way: instead of passing in the object directory, we now pass in the source from which we want to load packfiles. This allows us to simplify the code because we don't have to search for a corresponding MIDX anymore, but we can instead directly use the MIDX that we have already prepared beforehand. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/git-shell-commands/help')
0 files changed, 0 insertions, 0 deletions