diff options
author | 2019-06-17 10:15:17 -0700 | |
---|---|---|
committer | 2019-06-17 10:15:18 -0700 | |
commit | a3e6b426b95e5a31a884101b7bea4e5d075aea06 (patch) | |
tree | a4ae23d11e7bd12edac2a70c05131a4a6b6549a7 /preload-index.c | |
parent | Merge branch 'ds/topo-traversal-using-commit-graph' (diff) | |
parent | mark_fsmonitor_valid(): mark the index as changed if needed (diff) | |
download | tgif-a3e6b426b95e5a31a884101b7bea4e5d075aea06.tar.xz |
Merge branch 'js/fsmonitor-unflake'
The data collected by fsmonitor was not properly written back to
the on-disk index file, breaking t7519 tests occasionally, which
has been corrected.
* js/fsmonitor-unflake:
mark_fsmonitor_valid(): mark the index as changed if needed
fill_stat_cache_info(): prepare for an fsmonitor fix
Diffstat (limited to 'preload-index.c')
-rw-r--r-- | preload-index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/preload-index.c b/preload-index.c index e73600ee78..ed6eaa4738 100644 --- a/preload-index.c +++ b/preload-index.c @@ -78,7 +78,7 @@ static void *preload_thread(void *_data) if (ie_match_stat(index, ce, &st, CE_MATCH_RACY_IS_DIRTY|CE_MATCH_IGNORE_FSMONITOR)) continue; ce_mark_uptodate(ce); - mark_fsmonitor_valid(ce); + mark_fsmonitor_valid(index, ce); } while (--nr > 0); if (p->progress) { struct progress_data *pd = p->progress; |