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

Ensure consistent output from git command#181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

hashar
Copy link
Contributor

The git command output can vary by language which would cause assertions
errors when parsing the output.

On POSIX system the language used by git can be adjusted by LC_MESSAGES.
The special language 'C' is guaranteed to be always available and is
whatever default the software has been written in (usually english, the
case for git).

Thus passing LC_MESSAGES to Popen will ensure we receive from git a
consistent output regardless of the user preference.

Addresses#153

The git command output can vary by language which would cause assertionserrors when parsing the output.On POSIX system the language used by git can be adjusted by LC_MESSAGES.The special language 'C' is guaranteed to be always available and iswhatever default the software has been written in (usually english, thecase for git).Thus passing LC_MESSAGES to Popen will ensure we receive from git aconsistent output regardless of the user preference.Addressesgitpython-developers#153
@coveralls
Copy link

Coverage Status

Coverage decreased (-12.21%) when pulling3eb7265 on hashar:git-exec-const-output into27c577d on gitpython-developers:0.3.

@Byron
Copy link
Member

Thank you !

Byron added a commit that referenced this pull requestNov 14, 2014
Ensure consistent output from git command
@ByronByron merged commit9ea3dbd intogitpython-developers:0.3Nov 14, 2014
@ByronByron added this to thev0.3.2 milestoneNov 14, 2014
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Milestone
v0.3.2
Development

Successfully merging this pull request may close these issues.

3 participants
@hashar@coveralls@Byron

[8]ページ先頭

©2009-2025 Movatter.jp