From 22ca107f77635babb2856f79fa4e76b3cd8a5b3b Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 19 Aug 2016 15:28:12 +0100 Subject: [PATCH] Formula-Cookbook: document head branch default. `--HEAD` defaults to `:branch => "master"` so document that. Closes #722. --- share/doc/homebrew/Formula-Cookbook.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/doc/homebrew/Formula-Cookbook.md b/share/doc/homebrew/Formula-Cookbook.md index 1772fbd4f4..e9bf682a1a 100644 --- a/share/doc/homebrew/Formula-Cookbook.md +++ b/share/doc/homebrew/Formula-Cookbook.md @@ -524,7 +524,7 @@ To use a specific commit, tag, or branch from a repository, specify [`head`](htt ```ruby class Foo < Formula head "https://github.com/some/package.git", :revision => "090930930295adslfknsdfsdaffnasd13" - # or :branch => "develop" + # or :branch => "develop" (the default is "master") # or :tag => "1_0_release", # :revision => "090930930295adslfknsdfsdaffnasd13" end