diff options
Diffstat (limited to 'mailmap.c')
-rw-r--r-- | mailmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -215,10 +215,10 @@ static int read_mailmap_blob(struct string_list *map, const char *name) if (!name) return 0; - if (get_oid(name, &oid) < 0) + if (repo_get_oid(the_repository, name, &oid) < 0) return 0; - buf = read_object_file(&oid, &type, &size); + buf = repo_read_object_file(the_repository, &oid, &type, &size); if (!buf) return error("unable to read mailmap object at %s", name); if (type != OBJ_BLOB) |