Skip to content

Commit 83ba9a6

Browse files
dschoGit for Windows Build Agent
authored andcommitted
Merge pull request #2730 from dscho/crlf-aware-git-add-i
git add -i: handle CR/LF line endings in the interactive input
2 parents b9f6e9a + ea5eb0d commit 83ba9a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prompt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ int git_read_line_interactively(struct strbuf *line)
7777
int ret;
7878

7979
fflush(stdout);
80-
ret = strbuf_getline_lf(line, stdin);
80+
ret = strbuf_getline(line, stdin);
8181
if (ret != EOF)
8282
strbuf_trim_trailing_newline(line);
8383

0 commit comments

Comments
 (0)