/
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]
/
object.c
diff --git
a/object.c
b/object.c
index
fde816a
..
2acd3a0
100644
(file)
--- a/
object.c
+++ b/
object.c
@@
-200,7
+200,7
@@
struct object *parse_object_buffer_the_repository(const struct object_id *oid, e
obj = &blob->object;
}
} else if (type == OBJ_TREE) {
- struct tree *tree = lookup_tree(oid);
+ struct tree *tree = lookup_tree(
the_repository,
oid);
if (tree) {
obj = &tree->object;
if (!tree->buffer)