Skip to content

Commit

Permalink
Do not set GIT_TERMINAL_PROMPT=0 for git (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoguang authored Dec 10, 2022
1 parent 7cd7f12 commit 48255f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type Plugin struct {
const customCertTmpPath = "/tmp/customCert.pem"

var defaultEnvVars = []string{
"GIT_TERMINAL_PROMPT=0", // don't wait for user input
// do not set GIT_TERMINAL_PROMPT=0, otherwise git won't load credentials from ".netrc"
"GIT_LFS_SKIP_SMUDGE=1", // prevents git-lfs from retrieving any LFS files
}

Expand Down

0 comments on commit 48255f1

Please sign in to comment.