1
0
Fork 0

Add support for file:// URIs to GitDriver

pull/703/head
Ercan Özkaya 2012-05-17 15:36:02 +03:00
parent 799a478f2a
commit ca217bd48f
1 changed files with 1 additions and 1 deletions

View File

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