From c2d3c0509c2cf0f73a7cf7c99c64cfa121cbdcae Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Thu, 17 May 2012 15:08:54 +0200 Subject: [PATCH] Fixed the check for local git repositories --- src/Composer/Repository/Vcs/GitDriver.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Composer/Repository/Vcs/GitDriver.php b/src/Composer/Repository/Vcs/GitDriver.php index b33d75d85..038cff1e5 100644 --- a/src/Composer/Repository/Vcs/GitDriver.php +++ b/src/Composer/Repository/Vcs/GitDriver.php @@ -188,6 +188,7 @@ class GitDriver extends VcsDriver // local filesystem if (static::isLocalUrl($url)) { $process = new ProcessExecutor(); + $url = str_replace('file://', '', $url); // check whether there is a git repo in that path if ($process->execute('git tag', $output, $url) === 0) { return true;