/
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
commit: add repository argument to lookup_commit
[git/git.git]
/
tree.c
diff --git
a/tree.c
b/tree.c
index
12b6960
..
45e89ff
100644
(file)
--- a/
tree.c
+++ b/
tree.c
@@
-101,7
+101,7
@@
static int read_tree_1(struct tree *tree, struct strbuf *base,
else if (S_ISGITLINK(entry.mode)) {
struct commit *commit;
- commit = lookup_commit(entry.oid);
+ commit = lookup_commit(
the_repository,
entry.oid);
if (!commit)
die("Commit %s in submodule path %s%s not found",
oid_to_hex(entry.oid),