mxcl/homebrew — Issue #8793: update fails because of git (?)
Author: mxa
Created: 2011-11-25 19:40:50+00:00
State: open

$ brew update
/usr/local/Cellar/git/1.7.7.4/libexec/git-core/git-sh-setup: line 77: sed: command not found
/usr/local/Cellar/git/1.7.7.4/libexec/git-core/git-sh-setup: line 77: basename: command not found
/usr/local/Cellar/git/1.7.7.4/libexec/git-core/git-sh-setup: line 241: uname: command not found
/usr/local/Cellar/git/1.7.7.4/libexec/git-core/git-pull: line 236: sed: command not found
/usr/local/Cellar/git/1.7.7.4/libexec/git-core/git-pull: line 236: tr: command not found
There are no candidates for merging among the refs that you just fetched.
Generally this means that you provided a wildcard refspec which had no
matches on the remote end.

Error: Failed while executing git pull origin refs/heads/master:refs/remotes/origin/master

before that i did a brew install git which was successful.