aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-02-14 17:02:11 -0500
committerJack Nagel2014-02-14 17:02:11 -0500
commit51cbf22169597bf857fa10ea2f5490607c531a75 (patch)
treee682dbc8bec615b7382c7ce23d00dd91788ad652 /Library
parent1a0f2a3d7ee0a07a0b138b9427428d0e189a8a1d (diff)
downloadhomebrew-51cbf22169597bf857fa10ea2f5490607c531a75.tar.bz2
qt5: use shallow clone option
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/qt5.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Formula/qt5.rb b/Library/Formula/qt5.rb
index d15538e2c..41e358646 100644
--- a/Library/Formula/qt5.rb
+++ b/Library/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)."