Whamcloud - gitweb
LU-1595 build: allow longer component in summary
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 3 Oct 2012 21:50:08 +0000 (15:50 -0600)
committerOleg Drokin <green@whamcloud.com>
Sat, 13 Oct 2012 22:29:20 +0000 (18:29 -0400)
Allow a longer "component:" field in the commit summary message, up to
11 characters, for osd-ldiskfs.  This exceeded the 9-character limit.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Id0ed056e9b9efef07b26efeb9e2f4f1e8d500c1e
Reviewed-on: http://review.whamcloud.com/4174
Tested-by: Hudson
Reviewed-by: Bruce Korb <bruce_korb@xyratex.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
build/commit-msg

index 422117e..0710645 100755 (executable)
@@ -29,7 +29,7 @@ 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,9\}: "
+        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\} "
 
         # Identify a name followed by an email address.