From: Bobi Jam Date: Thu, 15 Aug 2013 02:28:53 +0000 (+0800) Subject: LU-3762 build: allow longer JIRA ticket letter X-Git-Tag: 2.5.53~6 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=ee01da2222471b03711567820a80345ce6635293 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 --- 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. #