Make fsck-cache print the object type for unreachable objects.
This got lost when I updated to Daniel's new object model.maint
parent
8c1becff24
commit
f43b8abc6f
|
@ -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…
Reference in New Issue