Skip to content

Commit 64457ed

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

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

463+
argv_array_push(&fastexport->args, "--");
464+
463465
fastexport->git_cmd = 1;
464466
return start_command(fastexport);
465467
}

0 commit comments

Comments
 (0)