meta:hooks:commit-msg: Allow dots and slashes
Allow dots and slashes in the program specification in the subject.
This commit is contained in:
@@ -23,7 +23,7 @@ body="$(tail +2 "$1" | grep -v "^#")"
|
||||
# error messages are printed for the different 'levels' of the pattern.
|
||||
declare -a pats msg
|
||||
pats=(
|
||||
"^([-_,*(){}a-zA-Z0-9]+:)+ "
|
||||
"^([-_,*(){}./a-zA-Z0-9]+:)+ "
|
||||
"[A-Z]"
|
||||
".*[^.]$"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user