1
0
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:
Linus Torvalds 2005-04-18 17:35:31 -07:00
parent 8c1becff24
commit f43b8abc6f

View File

@ -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;
}