git: do not apply patches on head
Closes Homebrew/homebrew#26259. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
91ada349b2
commit
bcb406185d
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class Git < Formula
|
|||
end
|
||||
|
||||
def patches
|
||||
if MacOS.version >= :mavericks
|
||||
if MacOS.version >= :mavericks and not build.head?
|
||||
# Allow using PERLLIB_EXTRA to find Subversion Perl bindings location
|
||||
# in the CLT/Xcode. Should be included in Git 1.8.6.
|
||||
# https://git.kernel.org/cgit/git/git.git/commit/?h=next&id=07981d
|
||||
|
|
Loading…
Reference in a new issue