diff options
| author | Mike McQuaid | 2015-03-30 08:03:10 +0100 | 
|---|---|---|
| committer | Mike McQuaid | 2015-03-30 08:11:33 +0100 | 
| commit | f11ef0ffa23da7149282a40e7e5f0039b8687a9e (patch) | |
| tree | 2e4d75076e5e4ba8f9f8d770432aaba3cbd6a79e /share | |
| parent | f8fece7733a17b58edfbc001eb3daedc1d0c47b1 (diff) | |
| download | homebrew-f11ef0ffa23da7149282a40e7e5f0039b8687a9e.tar.bz2 | |
Formula Cookbook: clarify new use of tag revision.
Diffstat (limited to 'share')
| -rw-r--r-- | share/doc/homebrew/Formula-Cookbook.md | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/share/doc/homebrew/Formula-Cookbook.md b/share/doc/homebrew/Formula-Cookbook.md index 5dc9ac03a..b317c9c24 100644 --- a/share/doc/homebrew/Formula-Cookbook.md +++ b/share/doc/homebrew/Formula-Cookbook.md @@ -566,13 +566,14 @@ end  Homebrew understands `git`, `svn`, and `hg` URLs, and has a way to specify `cvs` repositories as a URL as well. You can test whether the `HEAD` is being built with `build.head?`. -To use a specific commit, tag, or branch from a repository, specify head with the `:revision`, `:tag`, or `:branch` option, like so: +To use a specific commit, tag, or branch from a repository, specify head with the `:tag` and `:revision`, `:revision`, or `:branch` option, like so:  ```ruby  class Foo < Formula    head "https://github.com/some/package.git", :revision => "090930930295adslfknsdfsdaffnasd13"                                           # or :branch => "develop" -                                         # or :tag => "1_0_release" +                                         # or :tag => "1_0_release", +                                         #    :revision => "090930930295adslfknsdfsdaffnasd13"  end  ``` | 
