Skip to content

Commit

Permalink
Merge branch 'jc/maint-name-hash-clear' into maint
Browse files Browse the repository at this point in the history
* jc/maint-name-hash-clear:
  discard_cache: reset lazy name_hash bit
  • Loading branch information
Junio C Hamano committed Sep 19, 2008
2 parents f99b1d2 + 64ca23a commit a3fcc05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions read-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a3fcc05

Please sign in to comment.