Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
midx: use midx in approximate_object_count
[gitweb.git]
/
mailmap.c
diff --git
a/mailmap.c
b/mailmap.c
index cb921b4db676e3db918ee16f419cd2b78e0bf57e..13f0d2884e25edef3fde5bdf72b89a770111e472 100644
(file)
--- a/
mailmap.c
+++ b/
mailmap.c
@@
-224,7
+224,7
@@
static int read_mailmap_blob(struct string_list *map,
if (get_oid(name, &oid) < 0)
return 0;
- buf = read_
sha1_file(oid.hash
, &type, &size);
+ buf = read_
object_file(&oid
, &type, &size);
if (!buf)
return error("unable to read mailmap object at %s", name);
if (type != OBJ_BLOB)