diff --git a/fetch-pack.c b/fetch-pack.c index 008b25d3db0872..6274a524247ade 100644 --- a/fetch-pack.c +++ b/fetch-pack.c @@ -713,6 +713,7 @@ static int everything_local(struct fetch_pack_args *args, save_commit_buffer = 0; + enable_fscache(1); for (ref = *refs; ref; ref = ref->next) { struct object *o; @@ -733,6 +734,7 @@ static int everything_local(struct fetch_pack_args *args, cutoff = commit->date; } } + enable_fscache(0); if (!args->deepen) { for_each_ref(mark_complete_oid, NULL);