Make valid URLs in commit message clickable and open in browser

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Git
    • None
    • Environment:
      Mac OS 10.14.6 (18G87)

      Valid URLs in a Git repo's commit message are not clickable in my version of SourceTree for Mac. This is annoying since it means I need to copy URLs in the commit message and paste them manually into the address bar of my browser in order to view them. Compare this with running `git log` in iterm2/zsh where I am able to cmd+click the link to navigate to the URL. 

      The use case for me is that we are using Gerrit with a commit hook that automatically adds a link to the code review page in the commit message. If hyperlinks were clickable, I would be able to easily view the code review page directly from the link in the commit message (which is possible using `git log` as mentioned above)

      Steps to reproduce:

      1. Initialize new repo and make some change
      2. `git commit -m "Link: https://www.google.com"`
      3. View commit in SourceTree history, link is not clickable

      Expected behavior:

      • Valid URLs in commit messages should be clickable and open in the browser (like links in commit messages viewed in `git log` from iterm2/zsh)

      Thank you!

            Assignee:
            Unassigned
            Reporter:
            percygrunwald
            Votes:
            5 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: