projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c1becf
)
Make fsck-cache print the object type for unreachable objects.
author
Linus Torvalds
<torvalds@ppc970.osdl.org>
Tue, 19 Apr 2005 00:35:31 +0000
(17:35 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Tue, 19 Apr 2005 00:35:31 +0000
(17:35 -0700)
This got lost when I updated to Daniel's new object model.
fsck-cache.c
patch
|
blob
|
history
diff --git
a/fsck-cache.c
b/fsck-cache.c
index edaf9e46000197de66b2afb98a01358375b92e37..952d41387ac279bcc35fbe5e40fb7d3d917894ea 100644
(file)
--- 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;
}