multi-pack-index: provide more helpful usage info
[gitweb.git] / builtin / rev-list.c
index 6fcb0ff6d56154b9849108028f529c09d0c3450e..5b07f3f4a2cf6cd5f73f20a930934ca2277c8391 100644 (file)
@@ -240,7 +240,7 @@ static int finish_object(struct object *obj, const char *name, void *cb_data)
                return 1;
        }
        if (info->revs->verify_objects && !obj->parsed && obj->type != OBJ_COMMIT)
-               parse_object(&obj->oid);
+               parse_object(the_repository, &obj->oid);
        return 0;
 }