packfile: add repository argument to packed_object_info
[gitweb.git] / list-objects-filter.c
index 0ec83aaf1888903be4f1de38c8a94a594ef2130a..ea94fe8af28d00763f57483e9d8a53dd6197105f 100644 (file)
@@ -117,7 +117,7 @@ static enum list_objects_filter_result filter_blobs_limit(
                assert(obj->type == OBJ_BLOB);
                assert((obj->flags & SEEN) == 0);
 
-               t = oid_object_info(&obj->oid, &object_length);
+               t = oid_object_info(the_repository, &obj->oid, &object_length);
                if (t != OBJ_BLOB) { /* probably OBJ_NONE */
                        /*
                         * We DO NOT have the blob locally, so we cannot