parent
80d7ab57ed
commit
50d068b977
|
@ -242,7 +242,7 @@ class GitDriver extends VcsDriver
|
||||||
}
|
}
|
||||||
|
|
||||||
$process = new ProcessExecutor($io);
|
$process = new ProcessExecutor($io);
|
||||||
if($process->execute('git ls-remote ' . $url, $output) === 0) {
|
if($process->execute('git ls-remote --heads ' . ProcessExecutor::escape($url), $output) === 0) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue