Skip to content

Commit

Permalink
fsck-cache: report broken links correctly
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Linus Torvalds committed May 3, 2005
1 parent 8500349 commit aa03413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fsck-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit aa03413

Please sign in to comment.