mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-01 04:59:47 -05:00
GitHub - use git for smart http repos
This commit is contained in:
1 parent
e17468ea91
commit
193bec2db8
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user