News for hackers. Stuff that matters.
Re:How to Write a Git Commit Message (2014) by scrollaway on Friday March 17, 2017 @06:18AM (#13892853)
> First off, the commit message is plain text (by design) and can't be "wrapped" automatically, and any tool that tried would be insane.

This text box I'm replying to you with is a plain text textbox. It word-wraps just fine.

There's myriads of plain text inputs and outputs you encounter every day and they all word wrap just fine.

The terminal is an aberration in that regard.

Re:How to Write a Git Commit Message (2014) by milesrout on Friday March 17, 2017 @07:18AM (#13893082)
>This text box I'm replying to you with is a plain text textbox. It word-wraps just fine.

No it doesn't. In fact I had to edit a comment I made above this one about four times until I got the formatting right. It annoyingly ignored me doing this:

    line one
    line two
    line three
and assumed I meant this:

    line one line two line three
Re:How to Write a Git Commit Message (2014) by scrollaway on Friday March 17, 2017 @07:44AM (#13893206)
You're talking about the comment output, which is html after being processed. The text box is plaintext, and it word-wraps :)
Re:How to Write a Git Commit Message (2014) by milesrout on Friday March 17, 2017 @09:02PM (#13899295)
The text box and the text output are the same thing: markdown. A little tickbox that just wrapped every message I send in a <pre> tag would be lovely.
Re:How to Write a Git Commit Message (2014) by scrollaway on Saturday March 18, 2017 @09:34AM (#13901153)
You're missing my point because you don't understand the meaning I'm going for here. The comment box is not markdown, it's plaintext. This is not a rich text WYSIWYG editor.

My original point is that plenty of software does plaintext wrapping just fine and it's pretty ridiculous that consoles are stuck in this 80 character mindset.

Re:How to Write a Git Commit Message (2014) by milesrout on Saturday March 18, 2017 @08:48PM (#13904438)
No you're missing the point. A computer cannot wrap text reliably. It does not know how to.