GitHub - use git for smart https repos
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
66110c78e7
commit
11f3fca867
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user