зеркало из https://github.com/microsoft/git.git
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:
Коммит
a3fcc0562c
|
@ -1244,6 +1244,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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче