Revert "Merge remote-tracking branch 'github-ercanozkaya/master'"

This reverts commit b5eededbe9, reversing
changes made to 799a478f2a.

This change was wrong as the GitDriver was then telling it supports
all local URIs even when they are not git repositories.
main
Christophe Coevoet 12 years ago
parent b5eededbe9
commit 4404c5f287

@ -181,7 +181,7 @@ class GitDriver extends VcsDriver
*/
public static function supports(IOInterface $io, $url, $deep = false)
{
if (preg_match('#(^file://|^git://|\.git$|git@|//git\.|//github.com/)#i', $url)) {
if (preg_match('#(^git://|\.git$|git@|//git\.|//github.com/)#i', $url)) {
return true;
}

Loading…
Cancel
Save