summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-19 00:35:31 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-19 00:35:31 (GMT)
commitf43b8abc6f051aece327a3779e903106916d6e67 (patch)
tree5ef160373f4938c08184a1e38868c0c2e3c9823f
parent8c1becff243aeeec455eeabe513fa180631be83c (diff)
downloadgit-f43b8abc6f051aece327a3779e903106916d6e67.zip
git-f43b8abc6f051aece327a3779e903106916d6e67.tar.gz
git-f43b8abc6f051aece327a3779e903106916d6e67.tar.bz2
Make fsck-cache print the object type for unreachable objects.
This got lost when I updated to Daniel's new object model.
-rw-r--r--fsck-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fsck-cache.c b/fsck-cache.c
index edaf9e4..952d413 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;
}