GitHub - use git for smart http repos

This commit is contained in:
Adam Vandenberg committed 2010-07-23 21:39:12 -07:00
1 parent e17468ea91
commit 193bec2db8
1 file changed
+1
+1
View File
@@ -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