Skip to content

Commit 63a6969

Browse files
committed
git: always run in english locale
1 parent cd641b5 commit 63a6969

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

extensions/git/src/git.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,9 @@ export class Git {
355355
options.stdio = ['ignore', null, null]; // Unless provided, ignore stdin and leave default streams for stdout and stderr
356356
}
357357

358-
options.env = assign({}, process.env, options.env || {});
358+
options.env = assign({}, process.env, options.env || {}, {
359+
LANG: 'en_US.UTF-8'
360+
});
359361

360362
if (options.log !== false) {
361363
this.log(`git ${args.join(' ')}\n`);

0 commit comments

Comments
 (0)