diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2019-05-24 15:23:47 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-05-28 22:43:42 +0300 |
commit | d4c0a3ac78cf2fc16c144bf720d1451fcd1e267d (patch) | |
tree | c5c1048737c424a7ed9b017a3b48d29b65ecbaad /cache.h | |
parent | cfd635c7428dfca5b45d8d45fdc1311e751d4fe2 (diff) |
fill_stat_cache_info(): prepare for an fsmonitor fix
We will need to pass down the `struct index_state` to
`mark_fsmonitor_valid()` for an upcoming bug fix, and this here function
calls that there function, so we need to extend the signature of
`fill_stat_cache_info()` first.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |