diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-07-01 14:22:26 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-07-01 14:46:38 -0700 |
| commit | d4ff88aee3967e5d1ef1237cd9b8792b7cdb304c (patch) | |
| tree | 0951b639fd3ead92506db2216efb384e12bd6cc0 /entry.c | |
| parent | odb: rename `oid_object_info()` (diff) | |
| download | git-d4ff88aee3967e5d1ef1237cd9b8792b7cdb304c.tar.gz git-d4ff88aee3967e5d1ef1237cd9b8792b7cdb304c.zip | |
odb: rename `repo_read_object_file()`
Rename `repo_read_object_file()` to `odb_read_object()` to match other
functions related to the object database and our modern coding
guidelines.
Introduce a compatibility wrapper 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 'entry.c')
| -rw-r--r-- | entry.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -93,8 +93,8 @@ void *read_blob_entry(const struct cache_entry *ce, size_t *size) { enum object_type type; unsigned long ul; - void *blob_data = repo_read_object_file(the_repository, &ce->oid, - &type, &ul); + void *blob_data = odb_read_object(the_repository->objects, &ce->oid, + &type, &ul); *size = ul; if (blob_data) { |
