From: Johannes Schindelin Date: Thu, 10 Aug 2006 14:47:21 +0000 (+0200) Subject: discard_cache(): discard index, even if no file was mmap()ed X-Git-Tag: v1.4.3-rc1~174^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/4147d801db66df9b127ffe315601f467aa9d1c48?hp=4147d801db66df9b127ffe315601f467aa9d1c48 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 Signed-off-by: Junio C Hamano ---