test-dump-cache-tree: invalid trees are not errors
commit969dd8c612b3b22c4080ffd4448cef4accbf428b
authorDavid Turner <dturner@twopensource.com>
Tue, 8 Jul 2014 00:33:43 +0000 (7 17:33 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 Jul 2014 17:35:11 +0000 (8 10:35 -0700)
treeb99106d94dadef5aa476718b38e8aaecef6fc7e9
parentaecf567cbfb6ab46e82f7f5df36fb6a2dd5bee69
test-dump-cache-tree: invalid trees are not errors

Do not treat known-invalid trees as errors even when their subtree_nr is
incorrect.  Because git already knows that these trees are invalid,
an incorrect subtree_nr will not cause problems.

Add a couple of comments.

Signed-off-by: David Turner <dturner@twitter.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
test-dump-cache-tree.c