Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
tree: add repository argument to lookup_tree
[gitweb.git]
/
builtin
/
reflog.c
diff --git
a/builtin/reflog.c
b/builtin/reflog.c
index 948002b81ea61ae367f89eed2b7702347feb6005..5e12c856049e87696a15085777497234e3df5486 100644
(file)
--- a/
builtin/reflog.c
+++ b/
builtin/reflog.c
@@
-66,7
+66,7
@@
static int tree_is_complete(const struct object_id *oid)
int complete;
struct tree *tree;
- tree = lookup_tree(oid);
+ tree = lookup_tree(
the_repository,
oid);
if (!tree)
return 0;
if (tree->object.flags & SEEN)