diff --git a/builtin/add.c b/builtin/add.c index b928aed4bd..201716aebf 100644 --- a/builtin/add.c +++ b/builtin/add.c @@ -581,6 +581,7 @@ finish: COMMIT_LOCK | SKIP_IF_UNCHANGED)) die(_("Unable to write new index file")); + enable_fscache(0); UNLEAK(pathspec); UNLEAK(dir); return exit_status;