diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2017-10-11 05:28:41 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2017-10-12 18:52:58 +0000 |
commit | 5d5d0497e5c0f73ac2094ec6a6b9076a1f0be1f9 (patch) | |
tree | 32601689c5fd37ecc18e938a27d753aa2dcc7e49 /src/plugins/vcsbase/vcsbaseplugin.cpp | |
parent | fa43c0d2b9874e96de446683c326f201a01c3134 (diff) | |
download | qt-creator-5d5d0497e5c0f73ac2094ec6a6b9076a1f0be1f9.tar.gz |
Git: Use C locale when parsing the command output
Task-number: QTCREATORBUG-19017
Change-Id: Ib77d66e22d227d43245d352905f9b095f7d0f42b
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Diffstat (limited to 'src/plugins/vcsbase/vcsbaseplugin.cpp')
-rw-r--r-- | src/plugins/vcsbase/vcsbaseplugin.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/vcsbase/vcsbaseplugin.cpp b/src/plugins/vcsbase/vcsbaseplugin.cpp index acc3e312ad..ddb85144ea 100644 --- a/src/plugins/vcsbase/vcsbaseplugin.cpp +++ b/src/plugins/vcsbase/vcsbaseplugin.cpp @@ -786,8 +786,10 @@ void VcsBasePlugin::setProcessEnvironment(QProcessEnvironment *e, bool forceCLocale, const QString &sshPromptBinary) { - if (forceCLocale) + if (forceCLocale) { e->insert("LANG", "C"); + e->insert("LANGUAGE", "C"); + } if (!sshPromptBinary.isEmpty()) e->insert("SSH_ASKPASS", sshPromptBinary); } |