projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] The big git command renaming fallout fix.
[git.git]
/
ls-tree.c
diff --git
a/ls-tree.c
b/ls-tree.c
index
bd99f9a
..
d2ab02e
100644
(file)
--- a/
ls-tree.c
+++ b/
ls-tree.c
@@
-73,7
+73,7
@@
static int list(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)
die("unable to read sha1 file");
list_recursive(buffer, "tree", size, NULL);