fsmonitor: force a refresh after the index was discarded
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index 27fe635f622c49e2a21ffcb91d3113d3b3fbad8c..06ca755c9375e2dfaddfa6b5a47a0061917f680e 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -338,7 +338,8 @@ struct index_state {
        struct cache_time timestamp;
        unsigned name_hash_initialized : 1,
                 initialized : 1,
-                drop_cache_tree : 1;
+                drop_cache_tree : 1,
+                fsmonitor_has_run_once : 1;
        struct hashmap name_hash;
        struct hashmap dir_hash;
        struct object_id oid;