From 8c0ddcea697225b49f948c1243f97a4309dbd84b Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 14 Feb 2014 17:02:11 -0500 Subject: [PATCH] qt5: use shallow clone option --- Formula/qt5.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Formula/qt5.rb b/Formula/qt5.rb index d15538e2ce5..41e35864627 100644 --- a/Formula/qt5.rb +++ b/Formula/qt5.rb @@ -3,11 +3,6 @@ require 'formula' class Qt5HeadDownloadStrategy < GitDownloadStrategy include FileUtils - def support_depth? - # We need to make a local clone so we can't use "--depth 1" - false - end - def stage @clone.cd { reset } safe_system 'git', 'clone', @clone, '.' @@ -28,7 +23,7 @@ class Qt5 < Formula end head 'git://gitorious.org/qt/qt5.git', :branch => 'stable', - :using => Qt5HeadDownloadStrategy + :using => Qt5HeadDownloadStrategy, :shallow => false keg_only "Qt 5 conflicts Qt 4 (which is currently much more widely used)."