/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tree: add repository argument to lookup_tree
[git/git.git]
/
walker.c
diff --git
a/walker.c
b/walker.c
index
5b56c72
..
a3a2566
100644
(file)
--- a/
walker.c
+++ b/
walker.c
@@
-49,7
+49,8
@@
static int process_tree(struct walker *walker, struct tree *tree)
if (S_ISGITLINK(entry.mode))
continue;
if (S_ISDIR(entry.mode)) {
- struct tree *tree = lookup_tree(entry.oid);
+ struct tree *tree = lookup_tree(the_repository,
+ entry.oid);
if (tree)
obj = &tree->object;
}