mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-25 10:36:03 -05:00
fixup! add: use preload-index and fscache for performance
At the end of the add command, disable and free the fscache so that we don't leak the memory and so that we can dump the fscache statistics. Signed-off-by: Ben Peart <benpeart@microsoft.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
committed by
Johannes Schindelin
parent
33ed280b56
commit
7629245ead
@@ -622,6 +622,7 @@ finish:
|
||||
die(_("Unable to write new index file"));
|
||||
|
||||
dir_clear(&dir);
|
||||
enable_fscache(0);
|
||||
UNLEAK(pathspec);
|
||||
return exit_status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user