entagen/jenkins-build-per-branch — pull request #26 by lawrence-forooghian (2012-10-04 17:12:02+00:00)
Title: Consume output from git to avoid hang

When there are lots of git remote branches (more than around 200 in our
experience), the getBranchNames method of GitApi will hang inside the
`command.execute()` on line 34. It seems like we aren't consuming the
output of the git command.

Fix this by reading the output byte-by-byte instead.