mirror of
https://github.com/git/git.git
synced 2026-01-22 08:27:53 +00:00
Merge pull request #1426 from atetubou/fetch_pack
fetch-pack.c: enable fscache for stats under .git/objects
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user