]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'js/run-command-close-packs'
authorJunio C Hamano <gitster@pobox.com>
Mon, 20 Sep 2021 22:20:45 +0000 (15:20 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Sep 2021 22:20:45 +0000 (15:20 -0700)
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

1  2 
builtin/am.c
builtin/fetch.c
builtin/gc.c
builtin/merge.c
builtin/pull.c
builtin/rebase.c
builtin/receive-pack.c
commit-graph.c
run-command.c

diff --cc builtin/am.c
Simple merge
diff --cc builtin/fetch.c
Simple merge
diff --cc builtin/gc.c
Simple merge
diff --cc builtin/merge.c
Simple merge
diff --cc builtin/pull.c
Simple merge
Simple merge
Simple merge
diff --cc commit-graph.c
Simple merge
diff --cc run-command.c
Simple merge