aboutsummaryrefslogtreecommitdiffstats
path: root/commit.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-04-17 08:16:31 +0200
committerJunio C Hamano <gitster@pobox.com>2024-04-17 08:42:26 -0700
commitb396ee6bed7882af3333eb52333f8a34b648437d (patch)
tree800f4cb7cb9b676d7c6a1d9b65de17d3cce292d1 /commit.h
parentGit 2.44 (diff)
downloadgit-b396ee6bed7882af3333eb52333f8a34b648437d.tar.gz
git-b396ee6bed7882af3333eb52333f8a34b648437d.zip
run-command: introduce function to prepare auto-maintenance process
The `run_auto_maintenance()` function is responsible for spawning a new `git maintenance run --auto` process. To do so, it sets up the `sturct child_process` and then runs it by executing `run_command()` directly. This is rather inflexible in case callers want to modify the child process somewhat, e.g. to redirect stderr or stdout. Introduce a new `prepare_auto_maintenance()` function to plug this gap. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions