diff --git a/fetch-pack.c b/fetch-pack.c index 79007f996c..06bf7075e1 100644 --- a/fetch-pack.c +++ b/fetch-pack.c @@ -684,6 +684,7 @@ static void mark_complete_and_common_ref(struct fetch_negotiator *negotiator, save_commit_buffer = 0; + enable_fscache(1); for (ref = *refs; ref; ref = ref->next) { struct object *o; unsigned int flags = OBJECT_INFO_QUICK; @@ -713,6 +714,7 @@ static void mark_complete_and_common_ref(struct fetch_negotiator *negotiator, cutoff = commit->date; } } + enable_fscache(0); oidset_clear(&loose_oid_set);