meta:commit-msg: Allow all characters in prefix
There is no real reason for a restriction. Also merge the two character groups.
This commit is contained in:
@@ -43,8 +43,8 @@ body="$(
|
||||
# error messages are printed for the different 'levels' of the pattern.
|
||||
declare -a pats msg
|
||||
pats=(
|
||||
"^([-_,*(){}./a-zA-Z0-9]+:)+ "
|
||||
"([\`'\"]|[A-Z])"
|
||||
"^(.+:)+ "
|
||||
"([A-Z\`'\"])"
|
||||
".*[^.]$"
|
||||
)
|
||||
msg=(
|
||||
|
||||
Reference in New Issue
Block a user