Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc08f435

Browse files
committed
Make GitPython work on non English systems
1 parent6b5f70c commitc08f435

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎git/cmd.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,12 +337,15 @@ def execute(self, command,
337337
cwd=self._working_dir
338338

339339
# Start the process
340+
env=os.environ.copy()
341+
env['LANG']='C'
340342
proc=Popen(command,
341343
cwd=cwd,
342344
stdin=istream,
343345
stderr=PIPE,
344346
stdout=PIPE,
345347
close_fds=(os.name=='posix'),# unsupported on linux
348+
env=env,
346349
**subprocess_kwargs
347350
)
348351
ifas_process:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp