Continue traversal when rev-list --unpacked finds a packed commit.
commit744f498522d2255cf0ce967298c3d87b4727d1a4
authorJan Harkes <jaharkes@cs.cmu.edu>
Tue, 31 Oct 2006 01:37:49 +0000 (30 20:37 -0500)
committerJunio C Hamano <junkio@cox.net>
Tue, 31 Oct 2006 01:47:36 +0000 (30 17:47 -0800)
tree92cd4a71743b113b6b7fbeefeefbc9d1aa48634d
parent173a9cbe7031bc3574b3f41cb2d2375cf959ff2a
Continue traversal when rev-list --unpacked finds a packed commit.

When getting the list of all unpacked objects by walking the commit history,
we would stop traversal whenever we hit a packed commit. However the fact
that we found a packed commit does not guarantee that all previous commits
are also packed. As a result the commit walkers did not show all reachable
unpacked objects.

Signed-off-by: Jan Harkes <jaharkes@cs.cmu.edu>
Signed-off-by: Junio C Hamano <junkio@cox.net>
revision.c