diff --git a/prompt.c b/prompt.c index 8935fe4dfb9414..cfce7e15a091a7 100644 --- a/prompt.c +++ b/prompt.c @@ -78,7 +78,7 @@ int git_read_line_interactively(struct strbuf *line) int ret; fflush(stdout); - ret = strbuf_getline_lf(line, stdin); + ret = strbuf_getline(line, stdin); if (ret != EOF) strbuf_trim_trailing_newline(line);