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

Commit1485103

Browse files
committed
fix(git-cmd): set LANGUAGE as well
This is a pre-emptive measure based onhttp://goo.gl/l74GC8 .Related togitpython-developers#290
1 parent32e4e08 commit1485103

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
@@ -551,6 +551,9 @@ def execute(self, command,
551551
env=os.environ.copy()
552552
# Attempt to force all output to plain ascii english, which is what some parsing code
553553
# may expect.
554+
# According to stackoverflow (http://goo.gl/l74GC8), we are setting LANGUAGE as well
555+
# just to be sure.
556+
env["LANGUAGE"]="C"
554557
env["LC_ALL"]="C"
555558
env.update(self._environment)
556559

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp