diff --git a/transport-helper.c b/transport-helper.c index a46afcb69d..819c57f584 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -474,6 +474,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); }