mirror of
https://github.com/git-for-windows/git.git
synced 2026-05-05 17:40:24 -05:00
transport-helper: add trailing --
[PT: ensure we add an additional element to the argv array]
This commit is contained in:
committed by
Johannes Schindelin
parent
45e5ec5e8f
commit
0f691b6ed5
@@ -462,6 +462,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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user