From: Johannes Schindelin via GitGitGadget Date: Mon, 27 Jun 2022 18:31:04 GMT Subject: [PATCH v4 03/16] bisect: avoid double-quoting when printing the failed command Message-ID: <5571e0f76ffd531986bf6c03b99bb34d00815fc3.1656354677.git.gitgitgadget@gmail.com> In-Reply-To: From: Johannes Schindelin We already quote the command via `sq_quote_argv()`, no need to enclose the result in an extraneous pair of single-quotes. Pointed out by Elijah Newren. Signed-off-by: Johannes Schindelin --- builtin/bisect--helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/bisect--helper.c b/builtin/bisect--helper.c index cc38a009bdd..2345c9f773e 100644 --- a/builtin/bisect--helper.c +++ b/builtin/bisect--helper.c @@ -1223,7 +1223,7 @@ static int bisect_run(struct bisect_terms *terms, const char **argv, int argc) if (res < 0 || 128 <= res) { error(_("bisect run failed: exit code %d from" - " '%s' is < 0 or >= 128"), res, command.buf); + " %s is < 0 or >= 128"), res, command.buf); break; } -- gitgitgadget