Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
blob: add repository argument to lookup_blob
[gitweb.git]
/
walker.c
diff --git
a/walker.c
b/walker.c
index 63002b18875d2c1d3c18e33c29d0ff6df5ded55a..5b56c72a73841763b94f7be59aaf094916e51bc8 100644
(file)
--- a/
walker.c
+++ b/
walker.c
@@
-54,7
+54,8
@@
static int process_tree(struct walker *walker, struct tree *tree)
obj = &tree->object;
}
else {
- struct blob *blob = lookup_blob(entry.oid);
+ struct blob *blob = lookup_blob(the_repository,
+ entry.oid);
if (blob)
obj = &blob->object;
}