Re:Linus: please write good git commit messages
by barumrho on Sunday November 27, 2011 @04:19PM
(#3283444)
I hate to ask an off-topic question here, but is it considered good/bad practice to word-wrap plain text emails?
[ Parent
| on HN ]
Re:Linus: please write good git commit messages
by JoshTriplett on Sunday November 27, 2011 @10:15PM
(#3284309)
Good practice. If you don't word-wrap plain-text emails, each paragraph will show up as one long line; the program reading your mail on the other end can't wrap it automatically, because it might represent code, ASCII art, terminal transcripts, or something else that shouldn't get wrapped.
So, wrap your paragraphs in plain-text email at some sensible column. Common convention suggests 72, because that allows for a few rounds of quoting before it passes 80.
Re:Linus: please write good git commit messages
by caf on Sunday November 27, 2011 @06:41PM
(#3283739)
This might not actually be that off-topic, because I think the underlying reason that git commit messages are stored line-wrapped is for ease of sending them unmolested through email.
Re:Linus: please write good git commit messages
by telemachos on Sunday November 27, 2011 @04:27PM
(#3283467)
I think so, yes. Certainly, something like this is very common in Mutt configuration files:
set editor="vim -c 'set tw=75 ft=mail noautoindent'"
The 'set tw=75' bit, sets the text width to 75 columns.
Re:Linus: please write good git commit messages
by JoshTriplett on Sunday November 27, 2011 @10:16PM
(#3284312)
Not actually necessary these days. vim knows to match the names used for mutt temporary files, and automatically puts uses mail mode and a sensible text width.