Bug linking support
author Chris Han
committer Chris Han
commit 6ebdbe68181d814839a19a314957e9cf9da03b07
tree b36a20e326029362ef9fa5ebab761dc48e0837b4
parent 35c785d1aff59c63cc7c6aac6d64a519dfb3a61f
Bug linking support

This allows specification of a regex and url to find bug references in
commit messages, and allows them to be linked to an external bug
tracker. Currently this is just a very basic regex find and replace,
there's no advanced logic such as finding patterns that span lines, or
other preprocessing.
Currently this also only display in places where the full message text
is shown, and is not a link - the commit page, the commitdiff page, and
the log page. In the various other places where commit messages may be
shown (shortlog, headers, summary, etc), the message text is already a
link to the commit itself. Putting a link inside a link is weird
usability wise since that's not the way the user is expecting things to

Enhancement request #43
include/smartyplugins/modifier.buglink.php [ new file with mode 0644 ]