Imported Upstream version 2.24.2
[platform/upstream/git.git] / entry.c
diff --git a/entry.c b/entry.c
index 0e4f2f2..53380bb 100644 (file)
--- a/entry.c
+++ b/entry.c
@@ -373,7 +373,7 @@ finish:
                        if (lstat(ce->name, &st) < 0)
                                return error_errno("unable to stat just-written file %s",
                                                   ce->name);
-               fill_stat_cache_info(ce, &st);
+               fill_stat_cache_info(state->istate, ce, &st);
                ce->ce_flags |= CE_UPDATE_IN_BASE;
                mark_fsmonitor_invalid(state->istate, ce);
                state->istate->cache_changed |= CE_ENTRY_CHANGED;