From: Linus Torvalds Date: Tue, 19 Apr 2005 00:35:31 +0000 (-0700) Subject: Make fsck-cache print the object type for unreachable objects. X-Git-Tag: v0.99~817 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f43b8abc6f051aece327a3779e903106916d6e67;p=git.git Make fsck-cache print the object type for unreachable objects. This got lost when I updated to Daniel's new object model. --- diff --git a/fsck-cache.c b/fsck-cache.c index edaf9e460..952d41387 100644 --- a/fsck-cache.c +++ b/fsck-cache.c @@ -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; }