diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-09-16 00:47:52 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-09-16 00:47:52 -0700 |
commit | 27551baa3eddc4111ceee13dc05850ae80c99a3e (patch) | |
tree | 34553b6a16b51ef24defb2ee1c373538c923242d | |
parent | ddf41044322825844b54a922dec2775ff6d61926 (diff) | |
parent | 64ca23afda5bd7514115a4457abf37db21b989ac (diff) | |
download | git-27551baa3eddc4111ceee13dc05850ae80c99a3e.tar.gz |
Merge branch 'jc/maint-name-hash-clear'
* jc/maint-name-hash-clear:
discard_cache: reset lazy name_hash bit
-rw-r--r-- | read-cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/read-cache.c b/read-cache.c index 5150c1e14b..5b1b3ad03b 100644 --- a/read-cache.c +++ b/read-cache.c @@ -1253,6 +1253,7 @@ int discard_index(struct index_state *istate) istate->cache_nr = 0; istate->cache_changed = 0; istate->timestamp = 0; + istate->name_hash_initialized = 0; free_hash(&istate->name_hash); cache_tree_free(&(istate->cache_tree)); free(istate->alloc); |