diff options
author | Colin Guthrie <colin@mageia.org> | 2013-10-06 22:46:13 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-10-06 22:46:13 +0000 |
commit | ac1da3a9e748f0df9b67aca2781e86e1e7ed665e (patch) | |
tree | 984b0a5a37adce1d92c55daf838d22d2e5a1a6bc | |
parent | c840a6e877f3251436b7d0af5ecfef7e1d2e2be7 (diff) | |
download | puppet-ac1da3a9e748f0df9b67aca2781e86e1e7ed665e.tar puppet-ac1da3a9e748f0df9b67aca2781e86e1e7ed665e.tar.gz puppet-ac1da3a9e748f0df9b67aca2781e86e1e7ed665e.tar.bz2 puppet-ac1da3a9e748f0df9b67aca2781e86e1e7ed665e.tar.xz puppet-ac1da3a9e748f0df9b67aca2781e86e1e7ed665e.zip |
cgit: Add buglist regex cross reference comment
-rwxr-xr-x | modules/cgit/templates/filter.commit-links.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/cgit/templates/filter.commit-links.sh b/modules/cgit/templates/filter.commit-links.sh index ca09a181..7c04f95b 100755 --- a/modules/cgit/templates/filter.commit-links.sh +++ b/modules/cgit/templates/filter.commit-links.sh @@ -22,6 +22,8 @@ regex=$regex' s|\b([0-9a-fA-F]{7,40})\b|<a href="./?id=\1">\1</a>|g' # This expression generates links various common bugtrackers. +# When editing this list, remember to edit the same list in +# deployment/mgagit/templates/git-post-receive-hook regex=$regex' s|mga#([0-9]+)\b|<a href="https://bugs.mageia.org/show_bug.cgi?id=\1">mga#\1</a>|g' regex=$regex' |