projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8500349
)
fsck-cache: report broken links correctly
author
Linus Torvalds
<torvalds@ppc970.osdl.org>
Tue, 3 May 2005 04:10:54 +0000
(21:10 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Tue, 3 May 2005 04:10:54 +0000
(21:10 -0700)
We reported the type of te missing object incorrectly: we reported it as
the type of the referrer object, not the object that was referred to.
fsck-cache.c
patch
|
blob
|
history
diff --git
a/fsck-cache.c
b/fsck-cache.c
index 7dda9c3eb790ef57ee14c479a8730f0312dea744..637aededbdc0a321519ecdaeeb6da61ce71319d5 100644
(file)
--- a/
fsck-cache.c
+++ b/
fsck-cache.c
@@
-34,7
+34,7
@@
static void check_connectivity(void)
printf("broken link from %7s %s\n",
obj->type, sha1_to_hex(obj->sha1));
printf(" to %7s %s\n",
-
obj
->type, sha1_to_hex(refs->item->sha1));
+
refs->item
->type, sha1_to_hex(refs->item->sha1));
}
/* Don't bother with tag reachability. */