X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=fsck.c;h=939792752bf39c72cc536f00c21e2af8ed854c3e;hb=a2b22854bd5f252cd036636091a1d30141c35bce;hp=4a3069e204ea555bfb6d1ce05a0163860f852437;hpb=3cdd5d19178a54d2e51b5098d43b57571241d0ab;p=thirdparty%2Fgit.git diff --git a/fsck.c b/fsck.c index 4a3069e204..939792752b 100644 --- a/fsck.c +++ b/fsck.c @@ -458,6 +458,10 @@ int fsck_walk(struct object *obj, void *data, struct fsck_options *options) { if (!obj) return -1; + + if (obj->type == OBJ_NONE) + parse_object(obj->oid.hash); + switch (obj->type) { case OBJ_BLOB: return 0;