X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=builtin%2Ffsck.c;fp=builtin%2Ffsck.c;h=b2cef013896c2ab628680a86fcc80095e8fa80ae;hb=d80bea479daa1d49a6b2332c4731e2647c896c29;hp=f02cbdb439b210f973c06588da8a29f87fe23350;hpb=0cc4dcacb323cfd1cfe6e6a750ecc86eb215180d;p=thirdparty%2Fgit.git diff --git a/builtin/fsck.c b/builtin/fsck.c index f02cbdb439..b2cef01389 100644 --- a/builtin/fsck.c +++ b/builtin/fsck.c @@ -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;