diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2019-05-24 05:23:47 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-05-28 12:43:42 -0700 |
commit | d4c0a3ac78cf2fc16c144bf720d1451fcd1e267d (patch) | |
tree | c5c1048737c424a7ed9b017a3b48d29b65ecbaad /apply.c | |
parent | cfd635c7428dfca5b45d8d45fdc1311e751d4fe2 (diff) | |
download | git-d4c0a3ac78cf2fc16c144bf720d1451fcd1e267d.tar.gz |
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 'apply.c')
-rw-r--r-- | apply.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4310,7 +4310,7 @@ static int add_index_file(struct apply_state *state, "created file '%s'"), path); } - fill_stat_cache_info(ce, &st); + fill_stat_cache_info(state->repo->index, ce, &st); } if (write_object_file(buf, size, blob_type, &ce->oid) < 0) { discard_cache_entry(ce); |