]> git.ipfire.org Git - thirdparty/git.git/commit
packfile: refactor `get_packed_git()` to work on packfile store
authorPatrick Steinhardt <ps@pks.im>
Tue, 23 Sep 2025 10:17:12 +0000 (12:17 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Sep 2025 18:53:51 +0000 (11:53 -0700)
commit751808b2a18acba76b824aed4d8b7442bd7f5fca
tree7c9e46f82e6bc1e3422373947303344b303cb6c1
parentab8aff4a6b2a1d5aa79deeb64bdeecc0234b4ddf
packfile: refactor `get_packed_git()` to work on packfile store

The `get_packed_git()` function prepares the packfile store and then
returns its packfiles. Refactor it to accept a packfile store instead of
a repository to clarify its scope.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/gc.c
builtin/grep.c
object-name.c
packfile.c
packfile.h