aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorFrancisco Souza2014-01-29 16:47:59 -0200
committerJack Nagel2014-01-29 13:55:43 -0600
commitece03595f324d67da4b8f001da2ef122e2be71ef (patch)
tree605de913d5df2a52c9ffbaea1f5823d83c520041 /Library/Formula
parent4d16d3176bd07ebf41769c3c359fa84f94a7412f (diff)
downloadhomebrew-ece03595f324d67da4b8f001da2ef122e2be71ef.tar.bz2
git: do not apply patches on head
Closes #26259. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/git.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb
index 3276a8f77..177a29404 100644
--- a/Library/Formula/git.rb
+++ b/Library/Formula/git.rb
@@ -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