Skip to content

Commit 8951e0e

Browse files
committed
Merge pull request #3415 from dscho/release-packs-before-fetching
git pull: release file handles to pack files before fetching
2 parents 281ab52 + 44be1aa commit 8951e0e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

builtin/pull.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,6 +1018,7 @@ int cmd_pull(int argc, const char **argv, const char *prefix)
10181018
oidclr(&rebase_fork_point);
10191019
}
10201020

1021+
close_object_store(the_repository->objects);
10211022
if (run_fetch(repo, refspecs))
10221023
return 1;
10231024

0 commit comments

Comments
 (0)