transport-helper: add trailing --

[PT: ensure we add an additional element to the argv array]
This commit is contained in:
Sverre Rabbelier authored and Johannes Schindelin committed 2015-03-20 14:12:00 +01:00
1 parent e87eb82c77
commit d964ea0e92
1 file changed
+2
+2
View File
@@ -431,6 +431,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);
}