diff --git a/src/Composer/Repository/Vcs/GitDriver.php b/src/Composer/Repository/Vcs/GitDriver.php index e3d264cd0..00a5be4d4 100644 --- a/src/Composer/Repository/Vcs/GitDriver.php +++ b/src/Composer/Repository/Vcs/GitDriver.php @@ -185,7 +185,7 @@ class GitDriver extends VcsDriver */ public static function supports(IOInterface $io, $url, $deep = false) { - if (preg_match('#(^git://|\.git$|git@|//git\.|//github.com/)#i', $url)) { + if (preg_match('#(^git://|\.git$|git(?:olite)?@|//git\.|//github.com/)#i', $url)) { return true; }