diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 7504eeb37b..6d16deb5f9 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -342,7 +342,7 @@ class GitDownloadStrategy < AbstractDownloadStrategy unless @clone.exist? # Note: first-time checkouts are always done verbosely - clone_args = [@@git, 'clone'] + clone_args = [@@git, 'clone', '--no-checkout'] clone_args << '--depth' << '1' if support_depth? case @spec