Merge pull request #1426 from atetubou/fetch_pack

fetch-pack.c: enable fscache for stats under .git/objects
This commit is contained in:
Johannes Schindelin
2018-04-02 22:47:34 +02:00

View File

@@ -722,6 +722,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;
@@ -743,6 +744,7 @@ static int everything_local(struct fetch_pack_args *args,
cutoff = commit->date;
}
}
enable_fscache(0);
if (!args->no_dependents) {
if (!args->deepen) {