Merge branch 'ak/git-strip-extension-from-dashed-command'
[gitweb.git] / builtin / column.c
index 449413c8a873ebcfa2ceaccae6b89a3f1245c117..33314b4d7127cb6e4116c350e113058e07f58474 100644 (file)
@@ -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(&sb, stdin))
                string_list_append(&list, sb.buf);
 
        print_columns(&list, colopts, &copts);