Skip to content

Commit 894e264

Browse files
SRabbelierGit for Windows Build Agent
authored andcommitted
transport-helper: add trailing --
[PT: ensure we add an additional element to the argv array] Signed-off-by: Sverre Rabbelier <srabbelier@gmail.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent f77e606 commit 894e264

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

transport-helper.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,8 @@ static int get_exporter(struct transport *transport,
499499
for (size_t i = 0; i < revlist_args->nr; i++)
500500
strvec_push(&fastexport->args, revlist_args->items[i].string);
501501

502+
strvec_push(&fastexport->args, "--");
503+
502504
fastexport->git_cmd = 1;
503505
return start_command(fastexport);
504506
}

0 commit comments

Comments
 (0)