Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-19 04:35:31 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-19 04:35:31 +0400
commitf43b8abc6f051aece327a3779e903106916d6e67 (patch)
tree5ef160373f4938c08184a1e38868c0c2e3c9823f /fsck-cache.c
parent8c1becff243aeeec455eeabe513fa180631be83c (diff)
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 edaf9e4600..952d41387a 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;
}