1
0
Fork 0

Add support for github URLs in git driver

pull/521/head
Jordi Boggiano 2012-04-01 18:54:21 +02:00
parent 6d5b4d606c
commit 1fe24a3837
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ class GitDriver extends VcsDriver
*/ */
public static function supports(IOInterface $io, $url, $deep = false) 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; return true;
} }