Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] compat: replace AF_LOCAL with AF_UNIX
[gitweb.git]
/
diff-cache.c
diff --git
a/diff-cache.c
b/diff-cache.c
index e365f713fa28526f8a883f03a0173755987eadea..899e37361e5d34a38e4746b3cd290d9b96a6c8f8 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))