News for hackers. Stuff that matters.
Re:Commit messages are not titles by jsmthrowaway on Tuesday June 23, 2015 @05:55AM (#9763594)
The 50 character convention has nothing to do with Linus Torvalds.
Re:Commit messages are not titles by brazzledazzle on Tuesday June 23, 2015 @06:36AM (#9763726)
I've seen a lot of posts and comments about the 50 character convention but I'm not sure I've ever seen a reason for that specific number. What is the reason for that anyway?
Re:Commit messages are not titles by mikekchar on Tuesday June 23, 2015 @07:09AM (#9763854)
It appears to originate with Tim Pope: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messa...

Reading between the lines, it seems that the 50 character limit is to accommodate commands like "git log --pretty=oneline" and "git rebase --interactive" on an 80 column terminal. He also recommends 72 columns for any subsequent text because git makes a left margin of 4 characters and it looks balanced if you also have a right margin of 4 characters (80 - 8 = 72).

As someone who actually uses an 80 column terminal, I appreciate this practice. Probably younger people with good eyes won't be able to understand the reasoning behind it ;-)

Re:Commit messages are not titles by VieElm on Tuesday June 23, 2015 @04:15PM (#9767464)
> Probably younger people with good eyes won't be able to understand the reasoning behind it ;-)

Serious question, have you tried reading glasses? You don't have to just deal with bad eyes as you age, you can wear reading glasses. This what I do now.