mirror of
https://github.com/git/git.git
synced 2024-09-24 16:11:00 +02:00
Make fsck-cache print the object type for unreachable objects.
This got lost when I updated to Daniel's new object model.
This commit is contained in:
parent
8c1becff24
commit
f43b8abc6f
@ -21,7 +21,7 @@ static void check_connectivity(void)
|
||||
struct object *obj = objs[i];
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user