aboutsummaryrefslogtreecommitdiffstats
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-07-25 14:27:10 -0700
committerJunio C Hamano <gitster@pobox.com>2019-07-25 14:27:10 -0700
commit10432cc810eb9228dde99b38e2b4b37f5c80d12e (patch)
tree0a910eec49b51268b53890a259265ba833999b18 /cache.h
parentMerge branch 'vv/merge-squash-with-explicit-commit' into maint (diff)
parentmark_fsmonitor_valid(): mark the index as changed if needed (diff)
downloadgit-10432cc810eb9228dde99b38e2b4b37f5c80d12e.tar.gz
git-10432cc810eb9228dde99b38e2b4b37f5c80d12e.zip
Merge branch 'js/fsmonitor-unflake' into maint
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 'cache.h')
-rw-r--r--cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index b4bb2e2c11..bf20337ef4 100644
--- a/cache.h
+++ b/cache.h
@@ -826,7 +826,7 @@ int match_stat_data(const struct stat_data *sd, struct stat *st);
int match_stat_data_racy(const struct index_state *istate,
const struct stat_data *sd, struct stat *st);
-void fill_stat_cache_info(struct cache_entry *ce, struct stat *st);
+void fill_stat_cache_info(struct index_state *istate, struct cache_entry *ce, struct stat *st);
#define REFRESH_REALLY 0x0001 /* ignore_valid */
#define REFRESH_UNMERGED 0x0002 /* allow unmerged */