summaryrefslogtreecommitdiff
path: root/builtin/rebase.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-09-20 22:20:45 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-09-20 22:20:45 (GMT)
commitc042ad5ad58d4e43aadc806850e76fef73848d2c (patch)
tree97f9ef041f508b21da08024f5787e0e6ea30ac24 /builtin/rebase.c
parenta16dd1374023d1a5f6ee7c48661e0ed53a954391 (diff)
parentc4dee2c0851f3a6b202afd2c9d979ed417f4bcdc (diff)
downloadgit-c042ad5ad58d4e43aadc806850e76fef73848d2c.zip
git-c042ad5ad58d4e43aadc806850e76fef73848d2c.tar.gz
git-c042ad5ad58d4e43aadc806850e76fef73848d2c.tar.bz2
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/rebase.c')
-rw-r--r--builtin/rebase.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/rebase.c b/builtin/rebase.c
index 0150893..6c24630 100644
--- a/builtin/rebase.c
+++ b/builtin/rebase.c
@@ -744,7 +744,6 @@ static int finish_rebase(struct rebase_options *opts)
delete_ref(NULL, "REBASE_HEAD", NULL, REF_NO_DEREF);
unlink(git_path_auto_merge(the_repository));
apply_autostash(state_dir_path("autostash", opts));
- close_object_store(the_repository->objects);
/*
* We ignore errors in 'git maintenance run --auto', since the
* user should see them.