-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
featureNew feature or requestNew feature or request
Description
As committer I want get an warning when the subject length increases 50 Characters with the option to continue. In case of subject length exceeds 72 Characters I would expect an immediate abort. Special case are commit messages that starts with an ID prefix. Following table tries to explain:
msg | warn | abort |
---|---|---|
I'm a subject with less than 50 chars | ||
#ID - At the point starts the subject with exact 50 chars | ||
I'm a subject with less than 72 chars | x | |
#ID - At the point starts the subject with exact 72 chars | x |
construction of warning:
$ [WARN] - Your subject exceeds the soft limit of 50 chars by [NUM OF EXCEEDED CHARS] do you still want to proceed? (n/Y): n
The option n
is preselected.
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request