1
0
Fork 0

Add detection of gitolite user for git repos

pull/1045/head
Jordi Boggiano 2012-08-29 15:44:52 +02:00
parent 803178d28f
commit 781e0d4f55
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,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\.|//github.com/)#i', $url)) { if (preg_match('#(^git://|\.git$|git(?:olite)?@|//git\.|//github.com/)#i', $url)) {
return true; return true;
} }