diff options
Diffstat (limited to 'shell.c')
-rw-r--r-- | shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -88,7 +88,7 @@ static void run_shell(void) int count; fprintf(stderr, "git> "); - if (strbuf_getline(&line, stdin, '\n') == EOF) { + if (strbuf_getline_lf(&line, stdin) == EOF) { fprintf(stderr, "\n"); strbuf_release(&line); break; |