summaryrefslogtreecommitdiffstats
path: root/.gitlint
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-14 18:18:32 +0100
commit7153bad439120e152d15a305d3da8885ff7babf8 (patch)
treebcf80b1ab05652cc45f71b22ac735a18c48c9d2a /.gitlint
parent0f80df72a06ef7ae74be47de47d4bcb3ce3e4050 (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
Diffstat (limited to '.gitlint')
-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,}