/
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]
/
builtin
/
column.c
diff --git
a/builtin/column.c
b/builtin/column.c
index
449413c
..
40eab08
100644
(file)
--- a/
builtin/column.c
+++ b/
builtin/column.c
@@
-51,7
+51,7
@@
int cmd_column(int argc, const char **argv, const char *prefix)
die(_("--command must be the first argument"));
}
finalize_colopts(&colopts, -1);
- while (!strbuf_getline
(&sb, stdin, '\n'
))
+ while (!strbuf_getline
_lf(&sb, stdin
))
string_list_append(&list, sb.buf);
print_columns(&list, colopts, &copts);