git: do not apply patches on head

Closes Homebrew/homebrew#26259.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
master
Francisco Souza 2014-01-29 16:47:59 -02:00 committed by Jack Nagel
parent 91ada349b2
commit bcb406185d
1 changed files with 1 additions and 1 deletions

View File

@ -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