diff options
Diffstat (limited to 'fsmonitor.c')
-rw-r--r-- | fsmonitor.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fsmonitor.c b/fsmonitor.c index b6fcb0f08f..665bd2d425 100644 --- a/fsmonitor.c +++ b/fsmonitor.c @@ -179,6 +179,9 @@ void refresh_fsmonitor(struct index_state *istate) for (i = 0; i < istate->cache_nr; i++) istate->cache[i]->ce_flags &= ~CE_FSMONITOR_VALID; + /* If we're going to check every file, ensure we save the results */ + istate->cache_changed |= FSMONITOR_CHANGED; + if (istate->untracked) istate->untracked->use_fsmonitor = 0; } |