fix: disable command output while setting ssh key

This commit is contained in:
Robert Kaussow 2024-05-06 22:45:33 +02:00
parent 6ac87de468
commit d3410de2f1
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
1 changed files with 4 additions and 1 deletions

View File

@ -61,7 +61,10 @@ func (r *Repository) ConfigSSHCommand(sshKey string) *types.Cmd {
"ssh -i " + sshKey,
}
return &types.Cmd{
cmd := &types.Cmd{
Cmd: execabs.Command(gitBin, args...),
}
cmd.SetTrace(false)
return cmd
}