X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-fsck.c;h=6436bc224840f11af2f7fa26c61b62c25d78d865;hb=9a7a1e03d5e530cdad98c41c109e3319c008ce69;hp=64dffa542170fcceedc766ae6551134f61779893;hpb=bbc6a14b723ae831f35fc1b923fe497e7329443e;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;