From 837d206a628712f823f5f06c3fda6ac952af9e22 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 2 May 2012 21:48:24 -0500 Subject: [PATCH] GitDownloadStrategy: don't assume --single-branch is available git-clone's --single-branch is too new, and Xcode 4.3's stock git doesn't have it. Since we don't require git from Homebrew, don't use it. Signed-off-by: Jack Nagel --- Library/Homebrew/download_strategy.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 6a5dd6ac7c..b8594f6252 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -349,7 +349,6 @@ class GitDownloadStrategy < AbstractDownloadStrategy unless @clone.exist? # Note: first-time checkouts are always done verbosely clone_args = %w[git clone] - clone_args << '--single-branch' clone_args << '--depth' << '1' if support_depth? case @spec