diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index c0daf687a..68ad96390 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -268,7 +268,7 @@ class GitDownloadStrategy <AbstractDownloadStrategy end unless @clone.exist? - safe_system 'git', 'clone', @url, @clone # indeed, leave it verbose + safe_system 'git', 'clone', '--depth', '1', @url, @clone # indeed, leave it verbose else puts "Updating #{@clone}" Dir.chdir(@clone) do |
