Makefile: add missing dependency for command-list.h
[gitweb.git] / submodule.c
index 74d35b25779f4f771cc9d9ababe3a75cb04ac81c..8fd8e5d178d4d6a8d7cf4fb465d96bb323fd02ee 100644 (file)
@@ -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: