From c13abc67a816b12bf7ccb4395de03c802a832eb5 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sun, 26 Oct 2025 00:19:05 +0000 Subject: git: update to v2.51.1 --- ui-plain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui-plain.c') diff --git a/ui-plain.c b/ui-plain.c index 4d69607..0301439 100644 --- a/ui-plain.c +++ b/ui-plain.c @@ -24,13 +24,13 @@ static int print_object(const struct object_id *oid, const char *path) char *buf, *mimetype; unsigned long size; - type = oid_object_info(the_repository, oid, &size); + type = odb_read_object_info(the_repository->objects, oid, &size); if (type == OBJ_BAD) { cgit_print_error_page(404, "Not found", "Not found"); return 0; } - buf = repo_read_object_file(the_repository, oid, &type, &size); + buf = odb_read_object(the_repository->objects, oid, &type, &size); if (!buf) { cgit_print_error_page(404, "Not found", "Not found"); return 0; -- cgit v1.2.3-freya