Skip to content

Commit 6eb32aa

Browse files
SRabbelierGit for Windows Build Agent
authored andcommitted
transport-helper: add trailing --
[PT: ensure we add an additional element to the argv array]
1 parent f8bae52 commit 6eb32aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

transport-helper.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,8 @@ static int get_exporter(struct transport *transport,
462462
for (i = 0; i < revlist_args->nr; i++)
463463
argv_array_push(&fastexport->args, revlist_args->items[i].string);
464464

465+
argv_array_push(&fastexport->args, "--");
466+
465467
fastexport->git_cmd = 1;
466468
return start_command(fastexport);
467469
}

0 commit comments

Comments
 (0)