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
This commit is contained in:
Khai Do 2013-09-06 09:54:34 -07:00
parent 541ff08c3b
commit 07fa992846

View File

@ -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',
},
{