summaryrefslogtreecommitdiff
path: root/dump-cache-tree.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix test-dump-cache-tree in one-tree disappeared case.Junio C Hamano2006-05-031-4/+3
| | | | | | | | | 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>
* test-dump-cache-tree: validate the cached data as well.Junio C Hamano2006-04-271-11/+45
| | | | | | | While dumping the cached data, try recomputing everything from scratch to make sure things match. Signed-off-by: Junio C Hamano <junkio@cox.net>
* test-dump-cache-tree: report number of subtrees.Junio C Hamano2006-04-251-3/+4
| | | | Signed-off-by: Junio C Hamano <junkio@cox.net>
* index: make the index file format extensible.Junio C Hamano2006-04-241-5/+3
| | | | | | ... and move the cache-tree data into it. Signed-off-by: Junio C Hamano <junkio@cox.net>
* Add test-dump-cache-treeJunio C Hamano2006-04-241-0/+32
This was useful in diagnosing the corrupt index.aux format problem. But do not bother building or installing it by default. Signed-off-by: Junio C Hamano <junkio@cox.net>