 
   componentDidMount: ->
     $el = $(@getDOMNode())
+    $('a', $el).click @didClickHashWithUrl
     if @props.summary
       atom.tooltips.add($el,
         title: @props.summary
         placement: "auto left"
       )
 
+  didClickHashWithUrl: (e) ->
+    e.preventDefault()
+    shell.openExternal(e.target.getAttribute('data-url'))
 
   componentWillUnmount: ->
     $(@getDOMNode()).tooltip "destroy"

moment = require 'moment'
{formatDate} = require '../util/blameFormatter'
errorController = require '../controllers/errorController'

HASH_LENGTH = 7  # github uses this length
BLANK_HASH = '-'.repeat(HASH_LENGTH)

          a onClick: @didClickHashWithoutUrl, className: 'hash', @props.hash.substring(0, HASH_LENGTH)
        else
          url = @props.remoteRevision.url @props.hash
          a href: '#', 'data-url': url, className: 'hash', @props.hash.substring(0, HASH_LENGTH)
        span className: 'date', @props.date
        span className: 'committer text-highlight',
          if @props.showOnlyLastNames
