Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit c9d910d

Browse files
SRabbelierkblees
authored andcommitted
transport-helper: add trailing --
[PT: ensure we add an additional element to the argv array]
1 parent 9faa058 commit c9d910d

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

438+
argv_array_push(&fastexport->args, "--");
439+
438440
fastexport->git_cmd = 1;
439441
return start_command(fastexport);
440442
}

0 commit comments

Comments
 (0)