From d3410de2f1af379a17529c5219b4ef9e8e7431b3 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 6 May 2024 22:45:33 +0200 Subject: [PATCH] fix: disable command output while setting ssh key --- git/config.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/git/config.go b/git/config.go index 28ec184..2fa4f4e 100644 --- a/git/config.go +++ b/git/config.go @@ -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 }