buildbot/buildbot — pull request #1069 by Jc2k (2014-02-18 16:10:00+00:00)
Title: Don't send ref/heads/master as a branch

The heads returned from self._getBranches has a ``ref/heads/`` prefix. Make sure this is stripped before processing it.

I don't have an environment to test this in. Perhaps a better place is to call self._removeHeads(branch) as part of the call to self.master.addChange()