1
0
Fork 0

Fix local repo detection

pull/367/head
Jordi Boggiano 2012-02-25 04:18:23 +01:00
parent ca8845f44f
commit d03fb4804c
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ class GitDriver extends VcsDriver implements VcsDriverInterface
if (static::isLocalUrl($url)) {
$process = new ProcessExecutor();
// check whether there is a git repo in that path
if ($process->execute(sprintf('cd %s && git show', escapeshellarg($url)), $output) === 0) {
if ($process->execute(sprintf('cd %s && git tag', escapeshellarg($url)), $output) === 0) {
return true;
}
}