Skip to content

Commit

Permalink
Github plumbing.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlouis committed Oct 13, 2012
1 parent 2a5af14 commit a2005c7
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion lib/plumbing
Expand Up @@ -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

0 comments on commit a2005c7

Please sign in to comment.