From 67c30e984289d6cbae6e91839cb9de49c794411d Mon Sep 17 00:00:00 2001 From: druckdev <63563978+druckdev@users.noreply.github.com> Date: Mon, 26 Oct 2020 15:04:20 +0100 Subject: [PATCH] meta:hooks:commit-msg: Allow dots and slashes Allow dots and slashes in the program specification in the subject. --- meta/git/hooks/commit-msg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/git/hooks/commit-msg b/meta/git/hooks/commit-msg index 212d37e..57c4388 100755 --- a/meta/git/hooks/commit-msg +++ b/meta/git/hooks/commit-msg @@ -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]" ".*[^.]$" )