aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorpascalbertrand2011-04-04 22:52:11 +0200
committerAdam Vandenberg2011-04-04 14:09:41 -0700
commit11f3fca867feb67702e0a0b5dae9f9ace2c94197 (patch)
tree30131feffdc16c64beb61def50809cb7b569a6cd /Library
parent66110c78e7f301cbc047784efdefac2b223d3ba0 (diff)
downloadbrew-11f3fca867feb67702e0a0b5dae9f9ace2c94197.tar.bz2
GitHub - use git for smart https repos
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index e8306c839..c2219216c 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -488,7 +488,7 @@ def detect_download_strategy url
when %r[^svn\+http://] then SubversionDownloadStrategy
when %r[^fossil://] then FossilDownloadStrategy
# Some well-known source hosts
- when %r[^http://github\.com/.+\.git$] then GitDownloadStrategy
+ when %r[^https?://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