/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
strbuf: introduce strbuf_getline_{lf,nul}()
[git/git.git]
/
shell.c
diff --git
a/shell.c
b/shell.c
index
ace62e4
..
c5439a6
100644
(file)
--- a/
shell.c
+++ b/
shell.c
@@
-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;