diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-09-18 19:53:06 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-09-18 19:53:06 -0700 |
commit | a3fcc0562cda47f6109e81e456fb6177d7057117 (patch) | |
tree | eeda7e05678c64427b7c59767ba7264cba716076 /read-cache.c | |
parent | f99b1d23bb9a8f6a8f15df578e65bb04664cbdeb (diff) | |
parent | 64ca23afda5bd7514115a4457abf37db21b989ac (diff) | |
download | git-a3fcc0562cda47f6109e81e456fb6177d7057117.tar.gz |
Merge branch 'jc/maint-name-hash-clear' into maint
* jc/maint-name-hash-clear:
discard_cache: reset lazy name_hash bit
Diffstat (limited to 'read-cache.c')
-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 35fec468b1..8f96fd1722 100644 --- a/read-cache.c +++ b/read-cache.c @@ -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); |