Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
submodule: add a helper to check if it is safe to write to .gitmodules
[gitweb.git]
/
builtin
/
merge-base.c
diff --git
a/builtin/merge-base.c
b/builtin/merge-base.c
index bbead6f33e5c5449da3ff02b98b7c2ab993a54b7..08d91b1f0c0172fef93f1a87bf0843a85f57ca37 100644
(file)
--- a/
builtin/merge-base.c
+++ b/
builtin/merge-base.c
@@
-124,7
+124,7
@@
static void add_one_commit(struct object_id *oid, struct rev_collect *revs)
if (is_null_oid(oid))
return;
- commit = lookup_commit(oid);
+ commit = lookup_commit(
the_repository,
oid);
if (!commit ||
(commit->object.flags & TMP_MARK) ||
parse_commit(commit))