Merge pull request #1914 from benpeart/free-fscache-after-add-gfw

At the end of the add command, disable and free the fscache
This commit is contained in:
Johannes Schindelin
2018-11-16 12:04:15 +01:00

View File

@@ -583,6 +583,7 @@ finish:
COMMIT_LOCK | SKIP_IF_UNCHANGED))
die(_("Unable to write new index file"));
enable_fscache(0);
UNLEAK(pathspec);
UNLEAK(dir);
return exit_status;