about summary refs log tree commit diff
path: root/shared.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 /shared.c
parentgit: update to v2.51.0 (diff)
downloadcgit-magenta-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 'shared.c')
-rw-r--r--shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared.c b/shared.c

index c1403b4..3838364 100644 --- a/shared.c +++ b/shared.c
@@ -243,7 +243,7 @@ static int load_mmfile(mmfile_t *file, const struct object_id *oid) file->ptr = (char *)""; file->size = 0; } else { - file->ptr = repo_read_object_file(the_repository, oid, &type, + file->ptr = odb_read_object(the_repository->objects, oid, &type, (unsigned long *)&file->size); } return 1;