author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Thu, 10 Aug 2006 14:47:21 +0000 (16:47 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 10 Aug 2006 21:30:01 +0000 (14:30 -0700) | ||
commit | 4147d801db66df9b127ffe315601f467aa9d1c48 | |
tree | d5a401cef1dd931b32e58e622e6407816baf49b5 | tree | snapshot |
parent | 984b65707e25c426a32feb9b9d46f077b605cb31 | commit | diff |
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>
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>
read-cache.c | diff | blob | history |