Skip to content

Follow-up to js/pull-release-backs-before-fetching

Johannes Schindelin via GitGitGadget git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4run-command: prettify the `RUN_COMMAND_*` flagsrun-command.h+7 -70 replies
2/4run-command: offer to close the object store before runningrun-command.c run-command.h+14 -00 replies
3/4run_auto_maintenance(): implicitly close the object storebuiltin/am.c builtin/fetch.c builtin/merge.c +2 more+1 -50 replies
4/4Close object store closer to spawning child processesbuiltin/gc.c builtin/pull.c builtin/receive-pack.c+8 -160 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Follow-up to js/pull-release-backs-before-fetching

This implements the API enhancements suggested in
https://lore.kernel.org/git/[email protected]: we introduce a way to let run_command() handle the releasing of the file handles to the object store. It should make the code easier to work with in the future because it will be more obvious how to support Windows better when copy/editing code.

Johannes Schindelin (4):
run-command: prettify the RUN_COMMAND_* flags
run-command: offer to close the object store before running run_auto_maintenance(): implicitly close the object store Close object store closer to spawning child processes

 builtin/am.c           |  1 -
 builtin/fetch.c        |  2 --
 builtin/gc.c           | 18 ++++++------------
 builtin/merge.c        |  1 -
 builtin/pull.c         |  3 +--
 builtin/rebase.c       |  1 -
 builtin/receive-pack.c |  3 +--
 run-command.c          |  6 ++++++
 run-command.h          | 23 ++++++++++++++++-------
 9 files changed, 30 insertions(+), 28 deletions(-)

base-commit: 7e44ff7a3983ad0c7be5c9edcfea2e8355ce9a65
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1035%2Fdscho%2Fclose-object-store-in-run-command-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1035/dscho/close-object-store-in-run-command-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1035

Signature · 1 line
gitgitgadget