Browse Source

Fixes #276 - force english for error message output

main
Eric Amodio 6 years ago
parent
commit
6889e2aa57
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/git/git.ts

+ 1
- 1
src/git/git.ts View File

@ -84,7 +84,7 @@ async function gitCommandCore(options: CommandOptions & { readonly correlationKe
encoding: encoding === 'utf8' ? 'utf8' : 'binary',
// Adds GCM environment variables to avoid any possible credential issues -- from https://github.com/Microsoft/vscode/issues/26573#issuecomment-338686581
// Shouldn't *really* be needed but better safe than sorry
env: { ...(options.env || process.env), GCM_INTERACTIVE: 'NEVER', GCM_PRESERVE_CREDS: 'TRUE' }
env: { ...(options.env || process.env), GCM_INTERACTIVE: 'NEVER', GCM_PRESERVE_CREDS: 'TRUE', LC_ALL: 'C' }
} as CommandOptions;
const gitCommand = `git ${args.join(' ')}`;

Loading…
Cancel
Save