aboutsummaryrefslogtreecommitdiffstats
path: root/ui-blame.c
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2025-10-16 09:25:33 +0200
committerVosjedev <vosje@vosjedev.net>2025-10-24 14:16:36 +0200
commitd9989c7811e878fe0520b6cc1e4ce378724d9d89 (patch)
tree9930f8019ef1624f9f78cae5292d7c56d0694dc6 /ui-blame.c
parent22ed1e78329fab8bc4079b10779fc9e5932b2d24 (diff)
downloadcgit-d9989c7811e878fe0520b6cc1e4ce378724d9d89.tar.gz
cgit-d9989c7811e878fe0520b6cc1e4ce378724d9d89.tar.bz2
cgit-d9989c7811e878fe0520b6cc1e4ce378724d9d89.tar.xz
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 <mail@eworm.de>
Diffstat (limited to 'ui-blame.c')
-rw-r--r--ui-blame.c4
1 files changed, 2 insertions, 2 deletions
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));