Browse Source

Make fsck-cache print the object type for unreachable objects.

This got lost when I updated to Daniel's new object model.
maint
Linus Torvalds 20 years ago
parent
commit
f43b8abc6f
  1. 2
      fsck-cache.c

2
fsck-cache.c

@ -21,7 +21,7 @@ static void check_connectivity(void)
struct object *obj = objs[i]; struct object *obj = objs[i];


if (show_unreachable && !(obj->flags & REACHABLE)) { if (show_unreachable && !(obj->flags & REACHABLE)) {
printf("unreachable %s\n", sha1_to_hex(obj->sha1)); printf("unreachable %s %s\n", obj->type, sha1_to_hex(obj->sha1));
continue; continue;
} }



Loading…
Cancel
Save