Skip to content

Commit 7240e3d

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

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

425+
argv_array_push(&fastexport->args, "--");
426+
425427
fastexport->git_cmd = 1;
426428
return start_command(fastexport);
427429
}

0 commit comments

Comments
 (0)