Skip to content

Commit 05a278f

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 <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 373a5b7 commit 05a278f

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
@@ -478,6 +478,8 @@ static int get_exporter(struct transport *transport,
478478
for (i = 0; i < revlist_args->nr; i++)
479479
strvec_push(&fastexport->args, revlist_args->items[i].string);
480480

481+
strvec_push(&fastexport->args, "--");
482+
481483
fastexport->git_cmd = 1;
482484
return start_command(fastexport);
483485
}

0 commit comments

Comments
 (0)