Merge branch 'av/fsmonitor'
[gitweb.git] / read-cache.c
index 87e88b2642f22a0db1652435ff5ad63f3c240010..fbb4967c81976825e7d2c52da91391c6574c4b71 100644 (file)
@@ -2535,6 +2535,9 @@ int write_locked_index(struct index_state *istate, struct lock_file *lock,
        int new_shared_index, ret;
        struct split_index *si = istate->split_index;
 
+       if (istate->fsmonitor_last_update)
+               fill_fsmonitor_bitmap(istate);
+
        if (!si || alternate_index_output ||
            (istate->cache_changed & ~EXTMASK)) {
                if (si)