]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1286960 - certain github commit messages are not being auto-linkified properly
authorDavid Lawrence <dkl@mozilla.com>
Mon, 18 Jul 2016 19:56:47 +0000 (19:56 +0000)
committerDavid Lawrence <dkl@mozilla.com>
Mon, 18 Jul 2016 19:56:47 +0000 (19:56 +0000)
extensions/BMO/Extension.pm

index 02989d75616e21dfd7e9527cdbf3e2e028920f93..082dcc6068a79f2b5b05bfcd6d25b4b72cb00c4a 100644 (file)
@@ -697,7 +697,7 @@ sub bug_format_comment {
 
     # link github commit messages
     push (@$regexes, {
-        match => qr#^(To\s(?:https://)?github\.com/(.+?)\.git\n
+        match => qr#^(To\s(?:https://|git@)?github\.com[:/](.+?)\.git\n
                     \s+)([0-9a-z]+\.\.([0-9a-z]+)\s+\S+\s->\s\S+)#mx,
         replace => sub {
             my $args = shift;