Skip to content
Permalink
Browse files

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

At the end of the add command, disable and free the fscache
  • Loading branch information...
dscho committed Nov 16, 2018
2 parents b517370 + 23ae5f1 commit ba4743c757738a1b01decf81cc16a7d7d3564cd9
Showing with 1 addition and 0 deletions.
  1. +1 −0 builtin/add.c
@@ -542,6 +542,7 @@ int cmd_add(int argc, const char **argv, const char *prefix)
COMMIT_LOCK | SKIP_IF_UNCHANGED))
die(_("Unable to write new index file"));

enable_fscache(0);
UNLEAK(pathspec);
UNLEAK(dir);
return exit_status;

0 comments on commit ba4743c

Please sign in to comment.
You can’t perform that action at this time.