habnabit/theresa-bot — pull request #3 by maggymay (2012-11-03 01:43:18+00:00)
Title: Github commit support

!git user repo [branch]

Also supports URLs:
https://github.com//[/tree/]
https://github.com/repos///commits/

I tried to re-use a lot of what you did already to reduce the amount of refactoring and neatness of the code. I might be wrong, but due to the multiple ways one can ask for a commit, I had to add two new methods to Theresa and a method to github.py that just decides which regexp to use for the github url.