Fix test-dump-cache-tree in one-tree disappeared case.
commita84faf777075e54f9faf22dbc6345fd756cd0c8d
authorJunio C Hamano <junkio@cox.net>
Wed, 3 May 2006 22:32:54 +0000 (3 15:32 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 3 May 2006 22:33:32 +0000 (3 15:33 -0700)
treecbf443bd6fb3e52055d3831154c870bf947f4f18
parentcdc08b33ef3da0e963f9956e4a66f67cc3330f83
Fix test-dump-cache-tree in one-tree disappeared case.

When reconstructing an invalidated subtree for reference purposes by
test-dump-cache-tree, we did not handle the case where we shouldn't
have a cached and invalidated subtree in the result, leading to an
unneeded die().

Signed-off-by: Junio C Hamano <junkio@cox.net>
dump-cache-tree.c