]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/fsck.c
Merge branch 'ak/commit-graph-to-slab'
[thirdparty/git.git] / builtin / fsck.c
index f02cbdb439b210f973c06588da8a29f87fe23350..b2cef013896c2ab628680a86fcc80095e8fa80ae 100644 (file)
@@ -241,7 +241,7 @@ static void mark_unreachable_referents(const struct object_id *oid)
                enum object_type type = oid_object_info(the_repository,
                                                        &obj->oid, NULL);
                if (type > 0)
-                       object_as_type(the_repository, obj, type, 0);
+                       object_as_type(obj, type, 0);
        }
 
        options.walk = mark_used;