desktop / desktop

Focus on what matters instead of fighting with Git.
https://desktop.github.com
MIT License
19.58k stars 9.35k forks source link

Ability to customize "commit message length" nag #14255

Open dangerismycat opened 2 years ago

dangerismycat commented 2 years ago

Search for existing feature requests

The feature request

I'd like the ability to customize the nag about the commit message length. I'd like to be able to specify the number of characters or turn it off completely.

Proposed solution

Different repos have different standards around things like commit message length. This is the sort of thing we can configure with linters and code formatters; we should allow per-repo configuration of this nag as well.

Additional context

No response

steveward commented 2 years ago

Requested in #14722:

This may be "right" or "wrong" either way it's way to aggressive to always come up and no option to disable it. Maybe our team thinks 49 or 51 characters is the magic number... don't force this on us.

DanielRouxSA commented 1 year ago

I'd like to request this as well. In our team's case, we have no reason to limit the length of our commit messages, so the message is superfluous to us.

steveward commented 1 year ago

From https://github.com/desktop/desktop/issues/16456:

Currently the app is showing lightbulb icon when 50 characters met but sometimes you do need a bit more and it's nice to know the point where the commit message will be cutted (I guess it's at 72 symbols) and the rest of it will go to commit description.