I'm new to GIT and GitHub (and Homebrew for that matter); the formula for emacs in the main repository is broken in OS X Lion, but there is a "pull request" (https://github.com/mxcl/homebrew/pull/6518) that fixes the problem (but it isn't merged in the main repository).
How can I update my local copy of the Homebrew repository to have that formula fixed ? If I manage that, will that formula still be updated if the main repository includes that fix ?
Please correct me if the terminology is not correct.
You can install a Homebrew formula directly from a pull request by using brew install $raw_pull_requst_url
, eg:
brew install https://raw.github.com/ColinHebert/homebrew/538a99cc06a8f40b6ebcf2f4f8fd44d563c672cd/Library/Formula/emacs.rb
For finding the pull request URL, there's probably a better way, but I went to the pull request URL you linked, clicked on Files Changed, then on View File @ 9b22d42, then finally on Raw