]> git.ipfire.org Git - thirdparty/git.git/commit
gitk: Make web links clickable
authorPaul Mackerras <paulus@ozlabs.org>
Mon, 26 Aug 2019 22:12:34 +0000 (08:12 +1000)
committerPaul Mackerras <paulus@ozlabs.org>
Thu, 29 Aug 2019 01:27:59 +0000 (11:27 +1000)
commit3441de5b9cbc93ebfea0e70bf28b32e2eecba5bd
tree9f8a16f9a4dda013e15697f2878bbf23402b25ca
parentdec59817c182058407c345727d87f4f97603973b
gitk: Make web links clickable

This makes gitk look for http or https URLs in the commit description
and make the URLs clickable.  Clicking on them will invoke an external
web browser with the URL.

The web browser command is by default "xdg-open" on Linux, "open" on
MacOS, and "cmd /c start" on Windows.  The command can be changed in
the preferences window, and it can include parameters as well as the
command name.  If it is set to the empty string then URLs will no
longer be made clickable.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
gitk