Merge pull request #5340 from DekraIT/main

fix(issue#4746): Do not use setGitImportSettings inside of generateGitLsRemoteCommands
This commit is contained in:
Andras Bacsai 2025-03-18 10:50:16 +01:00 committed by GitHub
commit ca5371a7d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1065,7 +1065,6 @@ public function generateGitLsRemoteCommands(string $deployment_uuid, bool $exec_
if ($this->deploymentType() === 'other') {
$fullRepoUrl = $customRepository;
$base_command = "{$base_command} {$customRepository}";
$base_command = $this->setGitImportSettings($deployment_uuid, $base_command, public: true);
if ($exec_in_docker) {
$commands->push(executeInDocker($deployment_uuid, $base_command));