X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=index-pack.c;h=c72cbd406a7880361f262f43daff62a9f453628d;hb=444f29ce42a6de8e29a05f892f9ce5215cd38d56;hp=0c92bafcbb80cc539de9a86305562ff291361db9;hpb=451316d9bd9d117533cf32bb352bc370190075fc;p=git.git diff --git a/index-pack.c b/index-pack.c index 0c92bafcb..c72cbd406 100644 --- a/index-pack.c +++ b/index-pack.c @@ -469,7 +469,7 @@ static void sha1_object(const void *data, unsigned long size, die("invalid %s", typename(type)); if (fsck_object(obj, 1, fsck_error_function)) die("Error in object"); - if (fsck_walk(obj, mark_link, 0)) + if (fsck_walk(obj, mark_link, NULL)) die("Not all child objects of %s are reachable", sha1_to_hex(obj->sha1)); if (obj->type == OBJ_TREE) {