Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
fetch: only run 'gc' once when fetching multiple remotes
[gitweb.git]
/
read-cache.c
diff --git
a/read-cache.c
b/read-cache.c
index 4fad4e3f9ab004c85c0b2614b4d0637809d7e1b8..22e7b9944e35d257b144fe06dce2073c91d4819f 100644
(file)
--- a/
read-cache.c
+++ b/
read-cache.c
@@
-2326,6
+2326,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);