Skip to content

Commit 03348ae

Browse files
SRabbeliernalla
authored andcommitted
transport-helper: add trailing --
[PT: ensure we add an additional element to the argv array]
1 parent 4c9755a commit 03348ae

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

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

0 commit comments

Comments
 (0)