diff --git a/transport-helper.c b/transport-helper.c index 63d54271b0..0ad8c0e6b5 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -422,6 +422,8 @@ static int get_exporter(struct transport *transport, for (i = 0; i < revlist_args->nr; i++) argv_array_push(&fastexport->args, revlist_args->items[i].string); + argv_array_push(&fastexport->args, "--"); + fastexport->git_cmd = 1; return start_command(fastexport); }