Merge "Separate handling of ChangeIds and Git SHAs in Gerrit"

This commit is contained in:
Jenkins 2014-02-05 17:05:17 +00:00 committed by Gerrit Code Review
commit d19e0dd58e

View File

@ -156,7 +156,12 @@ class openstack_project::gerrit (
},
{
name => 'changeid',
match => '(<p>|[\\s]+)(I?[0-9a-f]{7,40})(</p>|[\\s.]+)',
match => 'I[0-9a-f]{8,40}',
link => '#q,$1,n,z',
},
{
name => 'gitsha',
match => '(<p>|[\\s(])([0-9a-f]{40})(</p>|[\\s.,;:)])',
html => '$1<a href=\"#q,$2,n,z\">$2</a>$3',
},
],