Merge branch 'nd/completion-aliasfiletype-typofix'
[gitweb.git] / builtin / fsck.c
index 087360a6757c607c4b38cce5fafad3bbb0822fc0..9d59d7d5a215379b221b02ac34277b542e757df1 100644 (file)
@@ -67,7 +67,8 @@ static const char *printable_type(struct object *obj)
        const char *ret;
 
        if (obj->type == OBJ_NONE) {
-               enum object_type type = oid_object_info(&obj->oid, NULL);
+               enum object_type type = oid_object_info(the_repository,
+                                                       &obj->oid, NULL);
                if (type > 0)
                        object_as_type(obj, type, 0);
        }