This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
wlxsp
/
test1
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fixes
#276
- force english for error message output
main
Eric Amodio
6 years ago
parent
e3ca5ee487
commit
6889e2aa57
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
(
' '
)
}
`
;
Write
Preview
Loading…
Cancel
Save