Merge branch 'jc/maint-name-hash-clear' into maint
* jc/maint-name-hash-clear: discard_cache: reset lazy name_hash bit
This commit is contained in:
commit
a3fcc0562c
@ -1244,6 +1244,7 @@ int discard_index(struct index_state *istate)
|
|||||||
istate->cache_nr = 0;
|
istate->cache_nr = 0;
|
||||||
istate->cache_changed = 0;
|
istate->cache_changed = 0;
|
||||||
istate->timestamp = 0;
|
istate->timestamp = 0;
|
||||||
|
istate->name_hash_initialized = 0;
|
||||||
free_hash(&istate->name_hash);
|
free_hash(&istate->name_hash);
|
||||||
cache_tree_free(&(istate->cache_tree));
|
cache_tree_free(&(istate->cache_tree));
|
||||||
free(istate->alloc);
|
free(istate->alloc);
|
||||||
|
Loading…
Reference in New Issue
Block a user