Merge pull request #2127 from dscho/fix-fsmonitor

Do query the fsmonitor again after the index has been discarded
This commit is contained in:
Johannes Schindelin
2019-05-09 23:04:27 +02:00
committed by Johannes Schindelin
5 changed files with 36 additions and 5 deletions

View File

@@ -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;