You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because:
* `git-commit` uses a `squash!` prefix as a flag for autosquash with
interactive rebase.
* The interactive rebase will strip the prefix, so the validation
should ignore it when checking the subject for line length,
capitalisation, etc.
This change:
* Strips the `squash!` prefix from the commit subject before
validating.
* Adds tests for both the subject length and capitialisation
validations with the `squash!` prefix.
0 commit comments