diff options
| author | Florian Ludwig <f.ludwig@greyrook.com> | 2012-07-24 10:34:28 +0200 |
|---|---|---|
| committer | Florian Ludwig <f.ludwig@greyrook.com> | 2012-07-24 10:34:28 +0200 |
| commit | c08f4350b9e4c791bc928303af16642ab9e308fe (patch) | |
| tree | 29f4a89293fcf70000769887e3facf287ded0d2c /git | |
| parent | 6b5f70cc54c20513262b71f234665d618a7d57d2 (diff) | |
| download | GitPython-c08f4350b9e4c791bc928303af16642ab9e308fe.tar.gz GitPython-c08f4350b9e4c791bc928303af16642ab9e308fe.zip | |
Make GitPython work on non English systems
Diffstat (limited to 'git')
| -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: |
