Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
check-attr: there are only two possible line terminations
[gitweb.git]
/
builtin
/
column.c
diff --git
a/builtin/column.c
b/builtin/column.c
index 449413c8a873ebcfa2ceaccae6b89a3f1245c117..40eab085946a46b5cbace46ab9dbd8778564cd6f 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);