8 ms·
It's weird because it kinda goes the other way too. Why in the world does GitHub truncate my commit messages now? The 80 char thing is a guideline. If git is
by nirvdrum 14y ago
It's weird because it kinda goes the other way too. Why in the world does GitHub truncate my commit messages now? The 80 char thing is a guideline. If git is willing to dutifully accept longer commit messages and my team and I are willing to read and write them, what's the point of forcing us to click to see them in the Web UI? If a project really wants an 80 char limit, that should be a project prerogative, not forced on everyone.
Mini rant aside, it's a bit confusing. Because as Linus notes, there's no indication of the 80 char limit when authoring in the Web UI -- you're only penalized for it later. It seems there are competing sets of best practices.