Merge pull request #8993 from glaubinix/t/git-driver-use-auth-support

GitDriver: use authentication for supports check
main
Jordi Boggiano 4 years ago committed by GitHub
commit 7f808c2e8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -225,7 +225,7 @@ class GitDriver extends VcsDriver
try {
$gitUtil->runCommand(function ($url) {
return 'git ls-remote --heads ' . ProcessExecutor::escape($url);
}, $url, null);
}, $url, sys_get_temp_dir());
} catch (\RuntimeException $e) {
return false;
}

Loading…
Cancel
Save