Skip to content

Commit c11aff7

Browse files
committed
Merge pull request git-for-windows#1914 from benpeart/free-fscache-after-add-gfw
At the end of the add command, disable and free the fscache
2 parents 5e5a7cb + b46600f commit c11aff7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

builtin/add.c

+1
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,7 @@ int cmd_add(int argc, const char **argv, const char *prefix)
541541
COMMIT_LOCK | SKIP_IF_UNCHANGED))
542542
die(_("Unable to write new index file"));
543543

544+
enable_fscache(0);
544545
UNLEAK(pathspec);
545546
UNLEAK(dir);
546547
return exit_status;

0 commit comments

Comments
 (0)