builtin-fast-export.c: handle nested tags
[gitweb.git] / builtin-fsck.c
index 64dffa542170fcceedc766ae6551134f61779893..6436bc224840f11af2f7fa26c61b62c25d78d865 100644 (file)
@@ -160,7 +160,7 @@ static void check_reachable_object(struct object *obj)
         * do a full fsck
         */
        if (!obj->parsed) {
-               if (has_sha1_pack(obj->sha1, NULL))
+               if (has_sha1_pack(obj->sha1))
                        return; /* it is in pack - forget about it */
                printf("missing %s %s\n", typename(obj->type), sha1_to_hex(obj->sha1));
                errors_found |= ERROR_REACHABLE;