mirror of
https://github.com/git/git
synced 2024-08-27 19:49:21 +00:00
Merge branch 'jc/maint-name-hash-clear'
* jc/maint-name-hash-clear: discard_cache: reset lazy name_hash bit
This commit is contained in:
commit
27551baa3e
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue