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