From 14803ef10d22207bd6905eeef8861727b2d61d5e Mon Sep 17 00:00:00 2001 From: Daniel Smith Date: Thu, 13 Aug 2020 10:29:49 +0200 Subject: Allow periods in summary when 'etc' is the last word Fixes: QTQAINFRA-3866 Change-Id: I0872dc2880f3ceb60c6efeb15d72b6bf627c4051 Reviewed-by: Paul Wicking Reviewed-by: Oswald Buddenhagen Reviewed-by: Edward Welbourne --- git-hooks/sanitize-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-hooks/sanitize-commit b/git-hooks/sanitize-commit index 5d97553..72797e8 100755 --- a/git-hooks/sanitize-commit +++ b/git-hooks/sanitize-commit @@ -437,7 +437,7 @@ while () { if (/\bQT[A-Z]+-\d+\b/) { complain_cln("Bug reference in summary", "log"); } - if (/\.$/) { + if (/(?