From d9989c7811e878fe0520b6cc1e4ce378724d9d89 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 16 Oct 2025 09:25:33 +0200 Subject: git: update to v2.51.1 Update to git version v2.51.1, this requires changes for these upstream commits: * e1d062e8ba0b72f49e9ef9713cc7011c330baab8 odb: drop deprecated wrapper functions Signed-off-by: Christian Hesse --- ui-blame.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui-blame.c') diff --git a/ui-blame.c b/ui-blame.c index d07b67f..9c575ef 100644 --- a/ui-blame.c +++ b/ui-blame.c @@ -121,14 +121,14 @@ static void print_object(const struct object_id *oid, const char *path, struct blame_origin *o; struct blame_entry *ent = NULL; - 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", "Bad object name: %s", oid_to_hex(oid)); return; } - 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(500, "Internal server error", "Error reading object %s", oid_to_hex(oid)); -- cgit