From 7153bad439120e152d15a305d3da8885ff7babf8 Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Mon, 14 Dec 2020 18:18:32 +0100 Subject: [PATCH] [COMMON] Allow '-' in commit topic Some components may have `-` in their topic title. Thus it should be allowed. Second and other "topics" can now also use lower case letters. Issue-ID: OOM-2648 Signed-off-by: Sylvain Desbureaux Change-Id: I0e12fdeac3788800755926aec3ffd425c87d6f98 --- .gitlint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlint b/.gitlint index 9f3a51d8a0..736878050b 100644 --- a/.gitlint +++ b/.gitlint @@ -1,5 +1,5 @@ [title-match-regex] -regex=^\[[A-Z0-9]+]\[*[A-Z0-9]*]* [A-Z]+[\S ]*$ +regex=^\[[A-Z\d-]+]\[*[\w\d-]*]* [A-Z]+[\S ]*$ [body-match-regex] regex=.{20,} -- 2.16.6