From 6ffd0e292d5dc1f5a9af9ab84ad095fe2e9f7207 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 14 Feb 2014 17:02:30 -0500 Subject: saltstack: use shallow clone option --- Library/Formula/saltstack.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'Library/Formula') 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' -- cgit v1.2.3