1
0
Fork 0

+ limit git ls-remote to heads

+ escape repo url
pull/3691/head
davidverholen 2015-01-29 17:08:32 +01:00
parent 80d7ab57ed
commit 50d068b977
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ class GitDriver extends VcsDriver
}
$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;
}