mxcl/homebrew — pull request #8804 by bartleusink (2011-11-26 17:25:56+00:00)
Title: Use the unstable branch when installing redis head

When when installing redis head, the following error occurs:

macbook-van-bart-leusink:~ bartleusink$ brew install redis --HEAD
==> Cloning https://github.com/antirez/redis.git
Updating /Users/bartleusink/Library/Caches/Homebrew/redis--git
fatal: ambiguous argument 'origin/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
Error: Failure while executing: git reset -q --hard origin/master
macbook-van-bart-leusink:~ bartleusink$

This is because redis uses the 'unstable' branch instead of the 'master' branch as the base branch.

I've added the correct branch to the formula.