summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-12-14 18:18:32 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-12-15 18:39:51 +0000
commitee1f7f7a0e885d522205b8d70fa12495896bad29 (patch)
treeb192480ba71094ee2696e76d78098e209a35791b
parente76075dc8fde961e14fbefee092e00de95008a26 (diff)
[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 <sylvain.desbureaux@orange.com> Change-Id: I0e12fdeac3788800755926aec3ffd425c87d6f98 (cherry picked from commit 7153bad439120e152d15a305d3da8885ff7babf8)
-rw-r--r--.gitlint2
1 files changed, 1 insertions, 1 deletions
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,}