summaryrefslogtreecommitdiff
path: root/ui-blame.c
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-10-26 00:19:05 +0000
committerFreya Murphy <freya@freyacat.org>2025-10-26 00:19:05 +0000
commitc13abc67a816b12bf7ccb4395de03c802a832eb5 (patch)
tree565b3dd99c69d696b02a6cd4badd3fd917063760 /ui-blame.c
parentadd wiki support to cgit (diff)
downloadcgit-c13abc67a816b12bf7ccb4395de03c802a832eb5.tar.gz
cgit-c13abc67a816b12bf7ccb4395de03c802a832eb5.tar.bz2
cgit-c13abc67a816b12bf7ccb4395de03c802a832eb5.zip
git: update to v2.51.1HEADmaster
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));