aboutsummaryrefslogtreecommitdiff
path: root/fsck-cache.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-18 17:35:31 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-18 17:35:31 -0700
commitf43b8abc6f051aece327a3779e903106916d6e67 (patch)
tree5ef160373f4938c08184a1e38868c0c2e3c9823f /fsck-cache.c
parent8c1becff243aeeec455eeabe513fa180631be83c (diff)
downloadgit-f43b8abc6f051aece327a3779e903106916d6e67.tar.gz
git-f43b8abc6f051aece327a3779e903106916d6e67.tar.xz
Make fsck-cache print the object type for unreachable objects.
This got lost when I updated to Daniel's new object model.
Diffstat (limited to 'fsck-cache.c')
-rw-r--r--fsck-cache.c2
1 files changed, 1 insertions, 1 deletions
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;
}