buildbot/buildbot — pull request #1074 by bmcorser (2014-02-20 10:02:59+00:00)
Title: Shouldn't fetch against a specific branch

When my scheduler doesn't specify a branch, `branch` here will default to `HEAD`. This is an issue when the commit SHA1 I want to build is not in whichever branch `HEAD` is looking at, as `git fetch` respects the branch specified (by this code, not by me).