projects
/
platform
/
upstream
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 2.18.3
[platform/upstream/git.git]
/
xdiff-interface.c
diff --git
a/xdiff-interface.c
b/xdiff-interface.c
index
770e1f7
..
9315bc0
100644
(file)
--- a/
xdiff-interface.c
+++ b/
xdiff-interface.c
@@
-191,7
+191,7
@@
void read_mmblob(mmfile_t *ptr, const struct object_id *oid)
return;
}
- ptr->ptr = read_
sha1_file(oid->hash
, &type, &size);
+ ptr->ptr = read_
object_file(oid
, &type, &size);
if (!ptr->ptr || type != OBJ_BLOB)
die("unable to read blob object %s", oid_to_hex(oid));
ptr->size = size;