X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-fsck.c;h=6436bc224840f11af2f7fa26c61b62c25d78d865;hb=3f7df3a71a9cbab3c27d84f2410e7d39407f9013;hp=64dffa542170fcceedc766ae6551134f61779893;hpb=8cc3fe45c92a2e85400a6ee83c3b3a4a8ca1d6c7;p=git.git diff --git a/builtin-fsck.c b/builtin-fsck.c index 64dffa542..6436bc224 100644 --- a/builtin-fsck.c +++ b/builtin-fsck.c @@ -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;