1
0
Fork 0

add check for remote Repository in GitDriver::supports

pull/3691/head
davidverholen 2015-01-29 15:46:11 +01:00
parent 71f83599bb
commit 80d7ab57ed
1 changed files with 5 additions and 1 deletions

View File

@ -241,7 +241,11 @@ class GitDriver extends VcsDriver
return false;
}
// TODO try to connect to the server
$process = new ProcessExecutor($io);
if($process->execute('git ls-remote ' . $url, $output) === 0) {
return true;
}
return false;
}
}