From: Junio C Hamano Date: Wed, 26 Aug 2020 01:17:16 GMT Subject: [PATCH v1 1/3] transport-helper: do not run git-remote-ext etc. in dashed form Message-ID: <20200826011718.3186597-2-gitster@pobox.com> In-Reply-To: <20200826011718.3186597-1-gitster@pobox.com> Runing them as "git remote-ext" and letting "git" dispatch to "remote-ext" would just be fine and is more idiomatic. Signed-off-by: Junio C Hamano --- transport-helper.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/transport-helper.c b/transport-helper.c index defafbf4c1..fae3d99500 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -128,7 +128,8 @@ static struct child_process *get_helper(struct transport *transport) helper->in = -1; helper->out = -1; helper->err = 0; - strvec_pushf(&helper->args, "git-remote-%s", data->name); + strvec_push(&helper->args, "git"); + strvec_pushf(&helper->args, "remote-%s", data->name); strvec_push(&helper->args, transport->remote->name); strvec_push(&helper->args, remove_ext_force(transport->url)); helper->git_cmd = 0; -- 2.28.0-454-g5f859b1948