Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t4014: abstract away SHA-1-specific constants
[gitweb.git]
/
tree.c
diff --git
a/tree.c
b/tree.c
index 1a0f03f5207a4cd85da5540edc5be593ff37e829..1c68ea586bd30d3e3389efa1c83f25ed607d1d80 100644
(file)
--- a/
tree.c
+++ b/
tree.c
@@
-219,7
+219,7
@@
int parse_tree_gently(struct tree *item, int quiet_on_missing)
if (item->object.parsed)
return 0;
- buffer = read_
sha1_file(item->object.oid.hash
, &type, &size);
+ buffer = read_
object_file(&item->object.oid
, &type, &size);
if (!buffer)
return quiet_on_missing ? -1 :
error("Could not read %s",