Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Github plumbing.

  • Loading branch information...
commit a2005c7436b4ec7c230f7bdd919178f544d4c5b2 1 parent 2a5af14
@jlouis authored
Showing with 11 additions and 1 deletion.
  1. +11 −1 lib/plumbing
View
12 lib/plumbing
@@ -11,5 +11,15 @@ attr add addr=$2
plumb to edit
plumb client $editor
-include basic
+# Github
+type is text
+data matches 'GH/([a-zA-z]+)/([a-zA-Z_\-]+)'
+plumb to web
+plumb start web http://github.com/$1/$2
+type is text
+data matches 'GH/([a-zA-z]+)/([a-zA-Z_\-]+)#([0-9]+)'
+plumb to web
+plumb start web http://github.com/$1/$2/issues/$3
+
+include basic
Please sign in to comment.
Something went wrong with that request. Please try again.