Skip to content

Commit 1739cd3

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

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

441+
argv_array_push(&fastexport->args, "--");
442+
441443
fastexport->git_cmd = 1;
442444
return start_command(fastexport);
443445
}

0 commit comments

Comments
 (0)