Skip to content
Permalink
Browse files

Merge pull request #1372 from atetubou/enable_fscache_fetch

enable fscache while iterating every local refs
  • Loading branch information...
dscho committed Nov 25, 2017
2 parents 8ce23d0 + 09ccec4 commit cf9318d1883d173d0d0e4c4485e3d67e438159d0
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;

@@ -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);

0 comments on commit cf9318d

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