diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-05-31 15:02:10 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-05-31 15:02:10 +0200 |
commit | 14851034ab5204ddb7329eb34bb0964d3f206f2b (patch) | |
tree | 5b8768cf39a8edd76add268a059ba8f69432d99e /git/cmd.py | |
parent | 32e4e08cf9ccfa90f0bc6d26f0c7007aeafcffeb (diff) | |
download | gitpython-14851034ab5204ddb7329eb34bb0964d3f206f2b.tar.gz |
fix(git-cmd): set LANGUAGE as well
This is a pre-emptive measure based on http://goo.gl/l74GC8 .
Related to #290
Diffstat (limited to 'git/cmd.py')
-rw-r--r-- | git/cmd.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -551,6 +551,9 @@ class Git(LazyMixin): env = os.environ.copy() # Attempt to force all output to plain ascii english, which is what some parsing code # may expect. + # According to stackoverflow (http://goo.gl/l74GC8), we are setting LANGUAGE as well + # just to be sure. + env["LANGUAGE"] = "C" env["LC_ALL"] = "C" env.update(self._environment) |