diff options
Diffstat (limited to 'dir.c')
| -rw-r--r-- | dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -302,7 +302,7 @@ static int do_read_blob(const struct object_id *oid, struct oid_stat *oid_stat, *size_out = 0; *data_out = NULL; - data = repo_read_object_file(the_repository, oid, &type, &sz); + data = odb_read_object(the_repository->objects, oid, &type, &sz); if (!data || type != OBJ_BLOB) { free(data); return -1; |
