diff options
| author | Jack Nagel | 2014-02-14 17:02:30 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-02-14 17:03:14 -0500 |
| commit | 6ffd0e292d5dc1f5a9af9ab84ad095fe2e9f7207 (patch) | |
| tree | 9b00c4cf65decd5ec808a0beb53f4fea9001a032 /Library/Formula/saltstack.rb | |
| parent | 51cbf22169597bf857fa10ea2f5490607c531a75 (diff) | |
| download | homebrew-6ffd0e292d5dc1f5a9af9ab84ad095fe2e9f7207.tar.bz2 | |
saltstack: use shallow clone option
Diffstat (limited to 'Library/Formula/saltstack.rb')
| -rw-r--r-- | Library/Formula/saltstack.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Formula/saltstack.rb b/Library/Formula/saltstack.rb index 2c6fdea81..8446f936d 100644 --- a/Library/Formula/saltstack.rb +++ b/Library/Formula/saltstack.rb @@ -1,11 +1,6 @@ require 'formula' class SaltHeadDownloadStrategy < GitDownloadStrategy - # We need to make a local clone so we can't use "--depth 1" - def support_depth? - false - end - def stage @clone.cd {reset} safe_system 'git', 'clone', @clone, '.' @@ -18,7 +13,7 @@ class Saltstack < Formula sha1 '7751eb59f3b52e7da541121cc4a543afd7f609f9' head 'https://github.com/saltstack/salt.git', :branch => 'develop', - :using => SaltHeadDownloadStrategy + :using => SaltHeadDownloadStrategy, :shallow => false devel do url 'https://github.com/saltstack/salt/archive/v2014.1.0rc3.tar.gz' |
