bisect--helper: factor out do_bisect_run()
commiteede29aa359a3049d1d1aea38a2cfc3eb547a23c
authorRené Scharfe <l.s.r@web.de>
Sun, 30 Oct 2022 11:48:16 +0000 (30 12:48 +0100)
committerTaylor Blau <me@ttaylorr.com>
Sun, 30 Oct 2022 18:04:36 +0000 (30 14:04 -0400)
tree7409f0c718f716a91a775b62ed85c682e0f62651
parent48750b2d0d22f07d60c6179a7c3726446060136a
bisect--helper: factor out do_bisect_run()

Deduplicate the code for reporting and starting the bisect run command
by moving it to a short helper function.  Use a string array instead of
a strvec to prepare the arguments, for simplicity.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
builtin/bisect--helper.c