summaryrefslogtreecommitdiff
path: root/ui-snapshot.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-snapshot.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 '')
-rw-r--r--ui-snapshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-snapshot.c b/ui-snapshot.c
index 3e38cd5..d157222 100644
--- a/ui-snapshot.c
+++ b/ui-snapshot.c
@@ -192,7 +192,7 @@ static int write_sig(const struct cgit_snapshot_format *format,
return 0;
}
- buf = repo_read_object_file(the_repository, note, &type, &size);
+ buf = odb_read_object(the_repository->objects, note, &type, &size);
if (!buf) {
cgit_print_error_page(404, "Not found", "Not found");
return 0;