Merge pull request #8993 from glaubinix/t/git-driver-use-auth-support
GitDriver: use authentication for supports checkpull/9026/head
commit
7f808c2e8d
|
@ -225,7 +225,7 @@ class GitDriver extends VcsDriver
|
||||||
try {
|
try {
|
||||||
$gitUtil->runCommand(function ($url) {
|
$gitUtil->runCommand(function ($url) {
|
||||||
return 'git ls-remote --heads ' . ProcessExecutor::escape($url);
|
return 'git ls-remote --heads ' . ProcessExecutor::escape($url);
|
||||||
}, $url, null);
|
}, $url, sys_get_temp_dir());
|
||||||
} catch (\RuntimeException $e) {
|
} catch (\RuntimeException $e) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue