aboutsummarybugs & patchesrefslogtreecommitdiffstats
path: root/ui-snapshot.c
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2025-10-16 09:25:33 +0200
committerChristian Hesse <mail@eworm.de>2025-10-16 09:49:45 +0200
commit883304cb0ec4d27df33008f945e81174c26baa30 (patch)
treec646c013d60a7e63325bb44374676e9f733bea76 /ui-snapshot.c
parent012870fad70f3eca82c5a25126c77edb3d2284ee (diff)
downloadcgit-883304cb0ec4d27df33008f945e81174c26baa30.tar.gz
cgit-883304cb0ec4d27df33008f945e81174c26baa30.tar.bz2
cgit-883304cb0ec4d27df33008f945e81174c26baa30.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-snapshot.c')
-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;