From 329a6e6eca1ca7564d37259db407a0fd4268e3df Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Sun, 28 Aug 2022 13:43:03 +0200 Subject: [PATCH] meta:commit-msg: Allow subject to start with quote See previous commit (d44931df8 "meta:envrc: `git fetch` in background"). --- 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 160e1f3..117e3d7 100755 --- a/meta/git/hooks/commit-msg +++ b/meta/git/hooks/commit-msg @@ -46,7 +46,7 @@ body="$( declare -a pats msg pats=( "^([-_,*(){}./a-zA-Z0-9]+:)+ " - "[A-Z]" + "([\`'\"]|[A-Z])" ".*[^.]$" ) msg=(