summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@osdl.org>2007-01-22 06:26:41 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-01-22 07:35:47 (GMT)
commit18af29f247f79b6fb61335f98a21daea67f5632f (patch)
tree64bfa10f911db22c2a973855d316f33d0e9b7098 /perl
parente3ff4b244726f89620201e3295f097cf00b6b502 (diff)
downloadgit-18af29f247f79b6fb61335f98a21daea67f5632f.zip
git-18af29f247f79b6fb61335f98a21daea67f5632f.tar.gz
git-18af29f247f79b6fb61335f98a21daea67f5632f.tar.bz2
fsck-objects: refactor checking for connectivity
This separates the connectivity check into separate codepaths, one for reachable objects and the other for unreachable ones, while adding a lot of comments to explain what is going on. When checking an unreachable object, unlike a reachable one, we do not have to complain if it does not exist (we used to complain about a missing blob even when the only thing that references it is a tree that is dangling). Also we do not have to check and complain about objects that are referenced by an unreachable object. This makes the messages from fsck-objects a lot less noisy and more useful. Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'perl')
0 files changed, 0 insertions, 0 deletions