/
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]
/
object.c
diff --git
a/object.c
b/object.c
index
2acd3a0
..
530c55e
100644
(file)
--- a/
object.c
+++ b/
object.c
@@
-212,7
+212,7
@@
struct object *parse_object_buffer_the_repository(const struct object_id *oid, e
}
}
} else if (type == OBJ_COMMIT) {
- struct commit *commit = lookup_commit(oid);
+ struct commit *commit = lookup_commit(
the_repository,
oid);
if (commit) {
if (parse_commit_buffer(commit, buffer, size, 1))
return NULL;