directory-rename-detection.txt: technical docs on abilities and limitations
[gitweb.git] / builtin / fsck.c
index 916109ac1c05664da895d832ec10c8b5ee4465fb..3ad4f160f9959a30262c81d5c3f85c36649d2895 100644 (file)
@@ -228,7 +228,7 @@ static void check_reachable_object(struct object *obj)
        if (!(obj->flags & HAS_OBJ)) {
                if (is_promisor_object(&obj->oid))
                        return;
-               if (has_sha1_pack(obj->oid.hash))
+               if (has_object_pack(&obj->oid))
                        return; /* it is in pack - forget about it */
                printf("missing %s %s\n", printable_type(obj),
                        describe_object(obj));