Skip to content

Commit bb94e0e

Browse files
SRabbelierdscho
authored andcommitted
transport-helper: add trailing --
[PT: ensure we add an additional element to the argv array]
1 parent a89b09f commit bb94e0e

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
@@ -469,6 +469,8 @@ static int get_exporter(struct transport *transport,
469469
for (i = 0; i < revlist_args->nr; i++)
470470
argv_array_push(&fastexport->args, revlist_args->items[i].string);
471471

472+
argv_array_push(&fastexport->args, "--");
473+
472474
fastexport->git_cmd = 1;
473475
return start_command(fastexport);
474476
}

0 commit comments

Comments
 (0)