summaryrefslogtreecommitdiff
path: root/builtin/am.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-09-20 15:20:45 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-09-20 15:20:45 -0700
commitc042ad5ad58d4e43aadc806850e76fef73848d2c (patch)
tree97f9ef041f508b21da08024f5787e0e6ea30ac24 /builtin/am.c
parentMerge branch 'ds/mergies-with-sparse-index' (diff)
parentClose object store closer to spawning child processes (diff)
downloadtgif-c042ad5ad58d4e43aadc806850e76fef73848d2c.tar.xz
Merge branch 'js/run-command-close-packs'
The run-command API has been updated so that the callers can easily ask the file descriptors open for packfiles to be closed immediately before spawning commands that may trigger auto-gc. * js/run-command-close-packs: Close object store closer to spawning child processes run_auto_maintenance(): implicitly close the object store run-command: offer to close the object store before running run-command: prettify the `RUN_COMMAND_*` flags pull: release packs before fetching commit-graph: when closing the graph, also release the slab
Diffstat (limited to 'builtin/am.c')
-rw-r--r--builtin/am.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/am.c b/builtin/am.c
index ff7dd33fcd..60f3737f99 100644
--- a/builtin/am.c
+++ b/builtin/am.c
@@ -1848,7 +1848,6 @@ next:
*/
if (!state->rebasing) {
am_destroy(state);
- close_object_store(the_repository->objects);
run_auto_maintenance(state->quiet);
}
}