From 07fa99284685d6088906c95537db80734d474fb7 Mon Sep 17 00:00:00 2001 From: Khai Do Date: Fri, 6 Sep 2013 09:54:34 -0700 Subject: [PATCH] link git sha in commit comments to the gerrit review Make gerrit link any git sha that appears in the commit comments to a gerrit review page. Fixes bug 904298 Change-Id: I5cd74bef5510c8dbf3891dcfa3086a141e445f0d --- modules/openstack_project/manifests/gerrit.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openstack_project/manifests/gerrit.pp b/modules/openstack_project/manifests/gerrit.pp index a7e3e8b600..428ad91328 100644 --- a/modules/openstack_project/manifests/gerrit.pp +++ b/modules/openstack_project/manifests/gerrit.pp @@ -126,7 +126,7 @@ class openstack_project::gerrit ( commentlinks => [ { name => 'changeid', - match => '(I[0-9a-f]{8,40})', + match => '(I?[0-9a-f]{8,40})', link => '#q,$1,n,z', }, {