diff options
author | Linus Torvalds <torvalds@osdl.org> | 2007-01-21 22:26:41 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-01-21 23:35:47 -0800 |
commit | 18af29f247f79b6fb61335f98a21daea67f5632f (patch) | |
tree | 64bfa10f911db22c2a973855d316f33d0e9b7098 /git-remote.perl | |
parent | git-gc: do not run git-prune by default. (diff) | |
download | tgif-18af29f247f79b6fb61335f98a21daea67f5632f.tar.xz |
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 'git-remote.perl')
0 files changed, 0 insertions, 0 deletions