diff --git a/fetch-pack.c b/fetch-pack.c index a320ce9872..91971c3550 100644 --- a/fetch-pack.c +++ b/fetch-pack.c @@ -752,6 +752,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; unsigned int flags = OBJECT_INFO_QUICK; @@ -781,6 +782,7 @@ static int everything_local(struct fetch_pack_args *args, cutoff = commit->date; } } + enable_fscache(0); oidset_clear(&loose_oid_set);