Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Allow the referencing of commits in Github links.

  • Loading branch information...
commit 4173076e80892dbcaced2165aa4a889111867005 1 parent bee9971
@jlouis authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/plumbing
View
5 lib/plumbing
@@ -21,6 +21,11 @@ plumb client $editor
# Github
type is text
+data matches 'GH/([a-zA-z0-9]+)/([a-zA-Z0-9_\-]+)/([0-9a-f]+)'
+plumb to web
+plumb start web http://github.com/$1/$2/commit/$3
+
+type is text
data matches 'GH/([a-zA-z0-9]+)/([a-zA-Z0-9_\-]+)#([0-9]+)'
plumb to web
plumb start web http://github.com/$1/$2/issues/$3
Please sign in to comment.
Something went wrong with that request. Please try again.