Skip to content

Commit e4f37b3

Browse files
SRabbelierdscho
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 2f0c4b1 commit e4f37b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

transport-helper.c

+2
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)