Skip to content

Commit 8dc5db7

Browse files
dschoGit for Windows Build Agent
authored and
Git for Windows Build Agent
committed
Merge pull request #1914 from benpeart/free-fscache-after-add-gfw
At the end of the add command, disable and free the fscache
2 parents 6447489 + 8603c10 commit 8dc5db7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

builtin/add.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,7 @@ int cmd_add(int argc, const char **argv, const char *prefix)
622622
die(_("Unable to write new index file"));
623623

624624
dir_clear(&dir);
625+
enable_fscache(0);
625626
UNLEAK(pathspec);
626627
return exit_status;
627628
}

0 commit comments

Comments
 (0)