From 14851034ab5204ddb7329eb34bb0964d3f206f2b Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 31 May 2015 15:02:10 +0200 Subject: fix(git-cmd): set LANGUAGE as well This is a pre-emptive measure based on http://goo.gl/l74GC8 . Related to #290 --- git/cmd.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'git/cmd.py') diff --git a/git/cmd.py b/git/cmd.py index ee35bbcf..87e482d8 100644 --- a/git/cmd.py +++ b/git/cmd.py @@ -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) -- cgit v1.2.1