Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hook: Detect caps in :/[]/{} prefixed subject
This hook didn't detect cap'd subject when prefixed with tag:/[tag]/{tag} eg. tag(scope): Subject cap check failed [tag] Subject cap check failed {tag} Subject cap check failed '@(+([[:alnum:]])?(\(+([[:alnum:]])\)):|\[+([[:alnum:][:punct:]])\]|\{+([[:alnum:][:punct:]])\}|squash\!)' matches the prefixes and removes it from subject line before checking.
- Loading branch information