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.
|
# error messages are printed for the different 'levels' of the pattern.
|
||||||
declare -a pats msg
|
declare -a pats msg
|
||||||
pats=(
|
pats=(
|
||||||
"^([-_,*(){}a-zA-Z0-9]+:)+ "
|
"^([-_,*(){}./a-zA-Z0-9]+:)+ "
|
||||||
"[A-Z]"
|
"[A-Z]"
|
||||||
".*[^.]$"
|
".*[^.]$"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user