diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-07-01 14:22:25 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-07-01 14:46:37 -0700 |
| commit | e989dd96b8aa9b20b0e23d3fa845d0baba1b454a (patch) | |
| tree | 8f205f5e7ec243777ec9ca46069575cf77164ecf /builtin/repack.c | |
| parent | 16cf7494962f20d09dcd8ef20af8962600fafca9 (diff) | |
| download | git-e989dd96b8aa9b20b0e23d3fa845d0baba1b454a.tar.gz | |
odb: rename `oid_object_info()`
Rename `oid_object_info()` to `odb_read_object_info()` as well as their
`_extended()` variant to match other functions related to the object
database and our modern coding guidelines.
Introduce compatibility wrappers so that any in-flight topics will
continue to compile.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/repack.c')
| -rw-r--r-- | builtin/repack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/repack.c b/builtin/repack.c index 8145474cf8..a89c2b704f 100644 --- a/builtin/repack.c +++ b/builtin/repack.c @@ -707,7 +707,7 @@ static int midx_snapshot_ref_one(const char *refname UNUSED, if (oidset_insert(&data->seen, oid)) return 0; /* already seen */ - if (oid_object_info(the_repository, oid, NULL) != OBJ_COMMIT) + if (odb_read_object_info(the_repository->objects, oid, NULL) != OBJ_COMMIT) return 0; fprintf(data->f->fp, "%s%s\n", data->preferred ? "+" : "", |
