Add support for github URLs in git driver
parent
6d5b4d606c
commit
1fe24a3837
|
@ -186,7 +186,7 @@ class GitDriver extends VcsDriver
|
|||
*/
|
||||
public static function supports(IOInterface $io, $url, $deep = false)
|
||||
{
|
||||
if (preg_match('#(^git://|\.git$|git@|//git\.)#i', $url)) {
|
||||
if (preg_match('#(^git://|\.git$|git@|//git\.|//github.com/)#i', $url)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue