Skip to content

Commit

Permalink
Merge pull request #1380 from atetubou/revert_fscache
Browse files Browse the repository at this point in the history
Revert "enable fscache while iterating every local refs"
  • Loading branch information
dscho committed Nov 28, 2017
2 parents 289598f + 0b74f77 commit 2b9dc9b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fetch-pack.c
Expand Up @@ -713,7 +713,6 @@ 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;

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

0 comments on commit 2b9dc9b

Please sign in to comment.