Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
discard_cache(): discard index, even if no file was mmap()ed
Since add_cacheinfo() can be called without a mapped index file, discard_cache() _has_ to discard the entries, even when cache_mmap == NULL. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
- Loading branch information