diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-09-23 12:17:09 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-09-24 11:53:50 -0700 |
| commit | f6f236d926915411eca28cb1c47619fdacf6eafb (patch) | |
| tree | 053d479d9dbd006595b6b4b91ffa71879adcc556 /http.c | |
| parent | 78237ea53d6546aeab7adb2c7547a1177311ccde (diff) | |
| download | git-f6f236d926915411eca28cb1c47619fdacf6eafb.tar.xz | |
packfile: refactor `install_packed_git()` to work on packfile store
The `install_packed_git()` functions adds a packfile to a specific
object store. 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>
Diffstat (limited to 'http.c')
| -rw-r--r-- | http.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2541,7 +2541,7 @@ void http_install_packfile(struct packed_git *p, lst = &((*lst)->next); *lst = (*lst)->next; - install_packed_git(the_repository, p); + packfile_store_add_pack(the_repository->objects->packfiles, p); } struct http_pack_request *new_http_pack_request( |
