bisect: simplify building "checkout" argument list
commit48750b2d0d22f07d60c6179a7c3726446060136a
authorRené Scharfe <l.s.r@web.de>
Sun, 30 Oct 2022 11:47:02 +0000 (30 12:47 +0100)
committerTaylor Blau <me@ttaylorr.com>
Sun, 30 Oct 2022 18:04:35 +0000 (30 14:04 -0400)
tree51281a36bbd4de3fc3c7e3b6314290f1ca10a51c
parent75c92a0540dd866b1ccf5454c4cc540d926a6139
bisect: simplify building "checkout" argument list

Reduce the scope of argv_checkout, which allows to fully build it during
initialization.  Use oid_to_hex() instead of oid_to_hex_r(), because
that's simpler and using the static buffer of the former is just as safe
as the old static argv_checkout.

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