diff options
Diffstat (limited to 'builtin/column.c')
-rw-r--r-- | builtin/column.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/column.c b/builtin/column.c index 449413c8a8..40eab08594 100644 --- 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); |