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 /list-objects-filter.c | |
| parent | odb: trivial refactorings to get rid of `the_repository` (diff) | |
| download | git-e989dd96b8aa9b20b0e23d3fa845d0baba1b454a.tar.gz git-e989dd96b8aa9b20b0e23d3fa845d0baba1b454a.zip | |
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 'list-objects-filter.c')
| -rw-r--r-- | list-objects-filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/list-objects-filter.c b/list-objects-filter.c index 80fe48a52c..7ecd4d9ef5 100644 --- a/list-objects-filter.c +++ b/list-objects-filter.c @@ -310,7 +310,7 @@ static enum list_objects_filter_result filter_blobs_limit( assert(obj->type == OBJ_BLOB); assert((obj->flags & SEEN) == 0); - t = oid_object_info(r, &obj->oid, &object_length); + t = odb_read_object_info(r->objects, &obj->oid, &object_length); if (t != OBJ_BLOB) { /* probably OBJ_NONE */ /* * We DO NOT have the blob locally, so we cannot |
