mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-29 13:57:10 -05:00
Merge pull request #3415 from dscho/release-packs-before-fetching
git pull: release file handles to pack files before fetching
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include "wt-status.h"
|
||||
#include "commit-reach.h"
|
||||
#include "sequencer.h"
|
||||
#include "packfile.h"
|
||||
|
||||
/**
|
||||
* Parses the value of --rebase. If value is a false value, returns
|
||||
@@ -1020,6 +1021,7 @@ int cmd_pull(int argc, const char **argv, const char *prefix)
|
||||
oidclr(&rebase_fork_point);
|
||||
}
|
||||
|
||||
close_object_store(the_repository->objects);
|
||||
if (run_fetch(repo, refspecs))
|
||||
return 1;
|
||||
|
||||
|
||||
@@ -713,6 +713,7 @@ static void close_commit_graph_one(struct commit_graph *g)
|
||||
if (!g)
|
||||
return;
|
||||
|
||||
clear_commit_graph_data_slab(&commit_graph_data_slab);
|
||||
close_commit_graph_one(g->base_graph);
|
||||
free_commit_graph(g);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user