ls-files: convert prune_cache to take an index