1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-10-16 09:27:37 +03:00

Set LC_MESSAGES too

I'm not sure this is necessary, but it doesn't hurt.
This commit is contained in:
Stefan Haller
2025-10-09 13:08:14 +02:00
parent b755f52754
commit 99a83efc34
2 changed files with 7 additions and 5 deletions

View File

@@ -330,7 +330,7 @@ func (self *cmdObjRunner) runAndDetectCredentialRequest(
promptUserForCredential func(CredentialType) <-chan string,
) error {
// setting the output to english so we can parse it for a username/password request
cmdObj.AddEnvVars("LANG=C", "LC_ALL=C")
cmdObj.AddEnvVars("LANG=C", "LC_ALL=C", "LC_MESSAGES=C")
return self.runAndStreamAux(cmdObj, func(handler *cmdHandler, cmdWriter io.Writer) {
tr := io.TeeReader(handler.stdoutPipe, cmdWriter)