diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2012-07-24 13:56:31 -0700 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2012-07-24 13:56:31 -0700 |
commit | 011d89d3187f4436383f7e7159c105b96a83bb80 (patch) | |
tree | 29f4a89293fcf70000769887e3facf287ded0d2c | |
parent | 6b5f70cc54c20513262b71f234665d618a7d57d2 (diff) | |
parent | c08f4350b9e4c791bc928303af16642ab9e308fe (diff) | |
download | gitpython-011d89d3187f4436383f7e7159c105b96a83bb80.tar.gz |
Merge pull request #68 from FlorianLudwig/master
Fix GitPython on systems with language != english
-rw-r--r-- | git/cmd.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -337,12 +337,15 @@ class Git(LazyMixin): cwd=self._working_dir # Start the process + env = os.environ.copy() + env['LANG'] = 'C' proc = Popen(command, cwd=cwd, stdin=istream, stderr=PIPE, stdout=PIPE, close_fds=(os.name=='posix'),# unsupported on linux + env=env, **subprocess_kwargs ) if as_process: |