diff --git a/transport-helper.c b/transport-helper.c index 7dc4a443ae..8d45c2da2a 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -431,6 +431,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); }