qt5: use shallow clone option

master
Jack Nagel 2014-02-14 17:02:11 -05:00
parent f5e4f4abe1
commit 8c0ddcea69
1 changed files with 1 additions and 6 deletions

View File

@ -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)."