projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] GIT: Create tar archives of tree on the fly
[git.git]
/
read-tree.c
diff --git
a/read-tree.c
b/read-tree.c
index
7b50fe6
..
604884a
100644
(file)
--- a/
read-tree.c
+++ b/
read-tree.c
@@
-12,7
+12,7
@@
static int unpack_tree(unsigned char *sha1)
void *buffer;
unsigned long size;
- buffer = read_
tree_with_tree_or_commit_sha1(sha1
, &size, 0);
+ buffer = read_
object_with_reference(sha1, "tree"
, &size, 0);
if (!buffer)
return -1;
return read_tree(buffer, size, stage);