Skip to content
Permalink
Browse files

Merge pull request #1426 from atetubou/fetch_pack

fetch-pack.c: enable fscache for stats under .git/objects
  • Loading branch information...
dscho committed Jan 12, 2018
2 parents f80bd10 + 0323774 commit d0192a7c4e03bb57edcd04ca783ecf349102f549
Showing with 2 additions and 0 deletions.
  1. +2 −0 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;

@@ -734,6 +735,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);

0 comments on commit d0192a7

Please sign in to comment.
You can’t perform that action at this time.