mirror of
https://github.com/git/git.git
synced 2026-01-18 22:56:21 +00:00
Merge branch 'jeffhostetler/jeffhostetler/add_preload_fscache'
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
@@ -460,6 +460,10 @@ int cmd_add(int argc, const char **argv, const char *prefix)
|
||||
die_in_unpopulated_submodule(&the_index, prefix);
|
||||
die_path_inside_submodule(&the_index, &pathspec);
|
||||
|
||||
enable_fscache(1);
|
||||
/* We do not really re-read the index but update the up-to-date flags */
|
||||
preload_index(&the_index, &pathspec, 0);
|
||||
|
||||
if (add_new_files) {
|
||||
int baselen;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user