diff --git a/transport-helper.c b/transport-helper.c index 5d99a6bc2e..f904f65d2d 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -423,6 +423,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); }