Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'dd/send-email-reedit'
[gitweb.git]
/
submodule.c
diff --git
a/submodule.c
b/submodule.c
index 74d35b25779f4f771cc9d9ababe3a75cb04ac81c..8fd8e5d178d4d6a8d7cf4fb465d96bb323fd02ee 100644
(file)
--- a/
submodule.c
+++ b/
submodule.c
@@
-820,7
+820,7
@@
static int check_has_commit(const struct object_id *oid, void *data)
{
struct has_commit_data *cb = data;
- enum object_type type = oid_object_info(oid, NULL);
+ enum object_type type = oid_object_info(
the_repository,
oid, NULL);
switch (type) {
case OBJ_COMMIT: