Skip to content

Commit

Permalink
don't touch ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
passichenko committed Jul 9, 2024
1 parent acae58a commit a5d248e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/gitcli/gitcli.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ import (
)

func disablePrompts(cmd *exec.Cmd) {
cmd.Env = append(os.Environ(),
"GIT_TERMINAL_PROMPT=0",
"GIT_SSH_COMMAND='ssh -oBatchMode=yes'",
)
cmd.Env = append(os.Environ(), "GIT_TERMINAL_PROMPT=0")
}

func handleAuthFailures(output []byte, err error) ([]byte, error) {
Expand Down

0 comments on commit a5d248e

Please sign in to comment.