Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t4020: abstract away SHA-1-specific constants
[gitweb.git]
/
combine-diff.c
diff --git
a/combine-diff.c
b/combine-diff.c
index cf55f03b75e43adf8c0200fca816adafa4b796ff..2ef495963fc1cf2e092778d35f1965912d7eaac0 100644
(file)
--- a/
combine-diff.c
+++ b/
combine-diff.c
@@
-306,7
+306,7
@@
static char *grab_blob(const struct object_id *oid, unsigned int mode,
*size = fill_textconv(textconv, df, &blob);
free_filespec(df);
} else {
- blob = read_
sha1_file(oid->hash
, &type, size);
+ blob = read_
object_file(oid
, &type, size);
if (type != OBJ_BLOB)
die("object '%s' is not a blob!", oid_to_hex(oid));
}