From dc97ff0ed40cb467ed38c7fd7543bdb24477f9cd Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Wed, 22 Jun 2022 20:50:57 +0200 Subject: [PATCH] fixup! checkout.c: enable fscache for checkout again Back when this commit was crafted, parallel checkout did not exist yet. But now it does. And it needs the same handling in the sequential case (i.e. when it is not actually parallel because of not reaching the threshold to actually need to fan out). This fixes https://github.com/git-for-windows/git/issues/3904 Signed-off-by: Johannes Schindelin --- parallel-checkout.c | 1 + 1 file changed, 1 insertion(+) diff --git a/parallel-checkout.c b/parallel-checkout.c index 31a3d0ee1bf851..af8027cbb6d60b 100644 --- a/parallel-checkout.c +++ b/parallel-checkout.c @@ -633,6 +633,7 @@ static void write_items_sequentially(struct checkout *state) { size_t i; + flush_fscache(); for (i = 0; i < parallel_checkout.nr; i++) { struct parallel_checkout_item *pc_item = ¶llel_checkout.items[i]; write_pc_item(pc_item, state);