projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Rename and extend read_tree_with_tree_or_commit_sha1
[git.git]
/
diff-cache.c
diff --git
a/diff-cache.c
b/diff-cache.c
index
e365f71
..
899e373
100644
(file)
--- a/
diff-cache.c
+++ b/
diff-cache.c
@@
-180,7
+180,7
@@
int main(int argc, char **argv)
mark_merge_entries();
- tree = read_
tree_with_tree_or_commit_sha1(tree_sha1
, &size, 0);
+ tree = read_
object_with_reference(tree_sha1, "tree"
, &size, 0);
if (!tree)
die("bad tree object %s", argv[1]);
if (read_tree(tree, size, 1))