Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'pe/cleanup' into next
[gitweb.git]
/
revision.c
diff --git
a/revision.c
b/revision.c
index 728b6d111dd3e11de6f5a6a0baa940d54d621e6a..ce35b5a7e6960383debb4541c573ecf02d192cae 100644
(file)
--- a/
revision.c
+++ b/
revision.c
@@
-260,7
+260,7
@@
int rev_same_tree_as_empty(struct tree *t1)
if (!t1)
return 0;
- tree = read_object_with_reference(t1->object.sha1,
"tree"
, &real.size, NULL);
+ tree = read_object_with_reference(t1->object.sha1,
tree_type
, &real.size, NULL);
if (!tree)
return 0;
real.buf = tree;