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