transport-helper: add trailing --

[PT: ensure we add an additional element to the argv array]
This commit is contained in:
Sverre Rabbelier
2010-08-28 20:49:01 -05:00
committed by Johannes Schindelin
parent 9c3b10a0df
commit cf0dc93080

View File

@@ -469,6 +469,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);
}