From ee01da2222471b03711567820a80345ce6635293 Mon Sep 17 00:00:00 2001 From: Bobi Jam Date: Thu, 15 Aug 2013 10:28:53 +0800 Subject: [PATCH] LU-3762 build: allow longer JIRA ticket letter Allow a longer leading JIRA ticket letter to 9 characters. Signed-off-by: Bobi Jam Change-Id: I063ed7dbf6a3f648500463b0478768cc4a684a88 Reviewed-on: http://review.whamcloud.com/7338 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Bob Glossman --- contrib/git-hooks/commit-msg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/git-hooks/commit-msg b/contrib/git-hooks/commit-msg index 33a840d..c1fed2e 100755 --- a/contrib/git-hooks/commit-msg +++ b/contrib/git-hooks/commit-msg @@ -29,8 +29,8 @@ init() { | tr ' ' '|') readonly WIDTH_SUM=62 readonly WIDTH_REG=70 - readonly JIRA_FMT_A="^[A-Z]\{2,5\}-[0-9]\{1,5\} [-a-z0-9]\{2,11\}: " - readonly JIRA_FMT_B="^[A-Z]\{2,5\}-[0-9]\{1,5\} " + readonly JIRA_FMT_A="^[A-Z]\{2,9\}-[0-9]\{1,5\} [-a-z0-9]\{2,11\}: " + readonly JIRA_FMT_B="^[A-Z]\{2,9\}-[0-9]\{1,5\} " # Identify a name followed by an email address. # -- 1.8.3.1