We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 79b694c + eea0bbf commit 81f47e2Copy full SHA for 81f47e2
builtin/checkout.c
@@ -359,6 +359,7 @@ static int checkout_paths(const struct checkout_opts *opts,
359
state.istate = &the_index;
360
361
enable_delayed_checkout(&state);
362
+ enable_fscache(1);
363
for (pos = 0; pos < active_nr; pos++) {
364
struct cache_entry *ce = active_cache[pos];
365
if (ce->ce_flags & CE_MATCHED) {
@@ -373,6 +374,7 @@ static int checkout_paths(const struct checkout_opts *opts,
373
374
pos = skip_same_name(ce, pos) - 1;
375
}
376
377
+ enable_fscache(0);
378
errs |= finish_delayed_checkout(&state);
379
380
if (write_locked_index(&the_index, &lock_file, COMMIT_LOCK))
0 commit comments