Skip to content

Commit 9a76e1f

Browse files
SRabbeliernalla
authored andcommitted
transport-helper: add trailing --
[PT: ensure we add an additional element to the argv array]
1 parent 0c637bb commit 9a76e1f

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

434+
argv_array_push(&fastexport->args, "--");
435+
434436
fastexport->git_cmd = 1;
435437
return start_command(fastexport);
436438
}

0 commit comments

Comments
 (0)