metajack/notify-webhook — pull request #5 by vojtagrec (2012-07-31 15:46:46+00:00)
Title: Fixed issue #4 and added support for head_commit and base_ref

I found notify-wehbook while implementing some git-powered build system in my company. I'm a Python newbie but I did my best to implement features needed to mock GitHub behavior as closely as possible:
* *Fixed issue #4* - when "old" hash is all zeroes, `git rev-list` complains about it. Now it returns empty array for `commits`.
* *Implemented `head_commit` support* - it returns the last commit on the ref.
* *Implemented `base_ref` support* - it tries to find f.e. a branch, on which a tagged commit was made, and uses this for `base_ref`.

I'm open to any request for improvement.