Skip to content

Commit ccb5711

Browse files
dschoGit for Windows Build Agent
authored and
Git for Windows Build Agent
committed
fixup??? mingw: Support git_terminal_prompt with more terminals
Another fall-out from another refactoring for refactoring's sake. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 409bf60 commit ccb5711

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compat/terminal.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ static char *shell_prompt(const char *prompt, int echo)
241241
static struct strbuf buffer = STRBUF_INIT;
242242
int prompt_len = strlen(prompt), len = -1, code;
243243

244-
child.argv = read_input;
244+
strvec_pushv(&child.args, read_input);
245245
child.in = -1;
246246
child.out = -1;
247247
child.silent_exec_failure = 1;

0 commit comments

Comments
 (0)