From 193bec2db8cdff2a706fc29127d8d0203aaf39be Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 18 Jul 2010 15:14:08 -0700 Subject: GitHub - use git for smart http repos --- Library/Homebrew/download_strategy.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library') diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 0d34a6711..412b1cfe9 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -426,6 +426,7 @@ def detect_download_strategy url when %r[^svn://] then SubversionDownloadStrategy when %r[^svn+http://] then SubversionDownloadStrategy # Some well-known source hosts + when %r[^http://github\.com/.+\.git$] then GitDownloadStrategy when %r[^https?://(.+?\.)?googlecode\.com/hg] then MercurialDownloadStrategy when %r[^https?://(.+?\.)?googlecode\.com/svn] then SubversionDownloadStrategy when %r[^https?://(.+?\.)?sourceforge\.net/svnroot/] then SubversionDownloadStrategy -- cgit v1.2.3