diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>
committerChristian Hesse <mail@eworm.de>
commit
parent
tree
download
git: update to v2.52.0
Update to git version v2.52.0, this requires changes for these upstream commits: * 9f6dfe43c8a55b833ae16486bcafe29b543461f9 string-list: align string_list_split() with its _in_place() counterpart * 78237ea53d6546aeab7adb2c7547a1177311ccde packfile: split up responsibilities of `reprepare_packed_git()` * 751808b2a18acba76b824aed4d8b7442bd7f5fca packfile: refactor `get_packed_git()` to work on packfile store Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'ui-clone.c')
-rw-r--r--ui-clone.c4
1 file changed, 2 insertions, 2 deletions
diff --git a/ui-clone.c b/ui-clone.c
index 0fadf24..9445454 100644
--- a/ui-clone.c
+++ b/ui-clone.c
@@ -40,8 +40,8 @@ static void print_pack_info(void)
ctx.page.mimetype = "text/plain";
ctx.page.filename = "objects/info/packs";
cgit_print_http_headers();
- reprepare_packed_git(the_repository);
- for (pack = get_packed_git(the_repository); pack; pack = pack->next) {
+ odb_reprepare(the_repository->objects);
+ for (pack = packfile_store_get_packs(the_repository->objects->packfiles); pack; pack = pack->next) {
if (pack->pack_local) {
offset = strrchr(pack->pack_name, '/');
if (offset && offset[1] != '\0')