diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-02 21:10:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-02 21:10:54 -0700 |
commit | aa03413467a2f2ada900817dc2a8e3904549b5fe (patch) | |
tree | c73e1ffb5c1666dc2ee601c906d54db99b8bd20e /fsck-cache.c | |
parent | 8500349208e6bfd0e8bc67d294bfea93da2328a2 (diff) | |
download | git-aa03413467a2f2ada900817dc2a8e3904549b5fe.tar.gz |
fsck-cache: report broken links correctly
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.
Diffstat (limited to 'fsck-cache.c')
-rw-r--r-- | fsck-cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fsck-cache.c b/fsck-cache.c index 7dda9c3eb7..637aededbd 100644 --- 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. */ |