-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: drop 50-character limit for commit messages #8327
Conversation
Replace the current limit of 50 characters for the first line of the commit message with a more flexible formulation.
I'm
|
I can totally relate to the problem of |
Okay, given to the number of -1’s/downvotes, I’m inclined to close this a bit later. Thanks @jbergstroem for naming a few reasons for the limit!
True, but that’s only a concern when actively using merge commits instead of rebasing/cherry-picking, is it?
It’s 70.
Interesting, I didn’t know that. |
From git commit help:
But that still doesn't really explain why 50 is the sweet spot. |
It's 72, and it's a fair limit imho. |
It displays well in text-only email clients. Git started out in the linux kernel community and their workflow is built around email (and terminals.) |
While it's true that the manpage suggests a limit of 50 chars it is also true that the Linux Kernel documentation does not impose such limit.
It would be great to have a soft limit of 50 chars and an hard limit of 70? chars but then I understand that it would be hard to make people respect the soft limit.
This can help and is a totally valid point. |
Given the number of downvotes, I’m closing this. Thanks everyone for explaining where your opinions come from! |
2 👍 vs. 3 👎 |
@addaleax you closed it in two days, I'm with @ronkorving IMHO the git manual is not a strong argument as it is legacy more than lore. |
@refack I’m not stopping anybody from picking this up again, but my energy for pushing contentious issues is limited and I prefer to keep it for things that matter more to me than this. |
Replace the current limit of 50 characters for the first line of the commit message with a more flexible formulation.
Copying the reasoning from #8294 (comment):
50 characters is a pretty hard limit when you need to include something like
child_process:
and/or are a non-native speaker with reduced vocabulary.