transport-helper: add trailing --

[PT: ensure we add an additional element to the argv array]

Signed-off-by: Sverre Rabbelier <srabbelier@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Sverre Rabbelier 2010-08-28 20:49:01 -05:00 коммит произвёл Johannes Schindelin
Родитель 1e7f3493c8
Коммит 502c4eca38
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -478,6 +478,8 @@ static int get_exporter(struct transport *transport,
for (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);
}