projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GIT 1.3.0-rc2
[git.git]
/
diff-tree.c
diff --git
a/diff-tree.c
b/diff-tree.c
index
f55a35a
..
d1265d7
100644
(file)
--- a/
diff-tree.c
+++ b/
diff-tree.c
@@
-52,7
+52,7
@@
static int diff_root_tree(const unsigned char *new, const char *base)
void *tree;
struct tree_desc empty, real;
void *tree;
struct tree_desc empty, real;
- tree = read_object_with_reference(new,
"tree"
, &real.size, NULL);
+ tree = read_object_with_reference(new,
tree_type
, &real.size, NULL);
if (!tree)
die("unable to read root tree (%s)", sha1_to_hex(new));
real.buf = tree;
if (!tree)
die("unable to read root tree (%s)", sha1_to_hex(new));
real.buf = tree;