diff --git a/transport-helper.c b/transport-helper.c index 4e5d1d914f..26ff24c93a 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -501,6 +501,8 @@ static int get_exporter(struct transport *transport, for (size_t i = 0; i < revlist_args->nr; i++) strvec_push(&fastexport->args, revlist_args->items[i].string); + strvec_push(&fastexport->args, "--"); + fastexport->git_cmd = 1; return start_command(fastexport); }