summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a81892d)
raw | patch | inline | side by side (parent: a81892d)
author | Junio C Hamano <gitster@pobox.com> | |
Sat, 23 Aug 2008 20:05:10 +0000 (13:05 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 23 Aug 2008 20:05:10 +0000 (13:05 -0700) |
We forgot to reset name_hash_initialized bit when discarding the in-core index.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
read-cache.c | patch | blob | history |
diff --git a/read-cache.c b/read-cache.c
index 2c03ec3069decb20f7557af4ac7dbe295f2dcf9c..6c57095f73427ffeaadeaa6018b1f8bdc23ee859 100644 (file)
--- a/read-cache.c
+++ b/read-cache.c
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);