Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
revision.c: reduce implicit dependency the_repository
[gitweb.git]
/
reachable.c
diff --git
a/reachable.c
b/reachable.c
index cc25f012e5df10fd04f2e4739a10297bc546a9d3..6e9b810d2a5e03dc613fe1e58938086f1ed9b684 100644
(file)
--- a/
reachable.c
+++ b/
reachable.c
@@
-88,7
+88,7
@@
static void add_recent_object(const struct object_id *oid,
obj = parse_object_or_die(oid, NULL);
break;
case OBJ_TREE:
- obj = (struct object *)lookup_tree(oid);
+ obj = (struct object *)lookup_tree(
the_repository,
oid);
break;
case OBJ_BLOB:
obj = (struct object *)lookup_blob(the_repository, oid);