Skip to content

Commit 3894192

Browse files
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 f397920 commit 3894192

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
@@ -256,7 +256,7 @@ static char *shell_prompt(const char *prompt, int echo)
256256
static struct strbuf buffer = STRBUF_INIT;
257257
int prompt_len = strlen(prompt), len = -1, code;
258258

259-
child.argv = read_input;
259+
strvec_pushv(&child.args, read_input);
260260
child.in = -1;
261261
child.out = -1;
262262
child.silent_exec_failure = 1;

0 commit comments

Comments
 (0)