git: do not apply patches on head

Closes #26259.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Francisco Souza authored and Jack Nagel committed 2014-01-29 13:55:43 -06:00
1 parent 4d16d3176b
commit ece03595f3
1 file changed
+1 -1
+1 -1
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