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