Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
fsmonitor: force a refresh after the index was discarded
[gitweb.git]
/
read-cache.c
diff --git
a/read-cache.c
b/read-cache.c
index 0e0c93edc9be5a7af5de1097eafe9d860e7d183e..b298c7f5351d572a300cf274dffb7ee5b00bc9df 100644
(file)
--- a/
read-cache.c
+++ b/
read-cache.c
@@
-2307,6
+2307,7
@@
int discard_index(struct index_state *istate)
free_name_hash(istate);
cache_tree_free(&(istate->cache_tree));
istate->initialized = 0;
+ istate->fsmonitor_has_run_once = 0;
FREE_AND_NULL(istate->cache);
istate->cache_alloc = 0;
discard_split_index(istate);