diff options
author | Antoine Musso <hashar@free.fr> | 2014-07-25 23:15:32 +0200 |
---|---|---|
committer | Antoine Musso <hashar@free.fr> | 2014-07-25 23:15:32 +0200 |
commit | 3eb7265c532e99e8e434e31f910b05c055ae4369 (patch) | |
tree | dcfbfc2cf09a243b0e1b3860eeda6a76b3019ad2 /git/refs/reference.py | |
parent | 27c577dfd5c7f0fc75cd10ed6606674b56b405bd (diff) | |
download | gitpython-3eb7265c532e99e8e434e31f910b05c055ae4369.tar.gz |
Ensure consistent output from git command
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
Diffstat (limited to 'git/refs/reference.py')
0 files changed, 0 insertions, 0 deletions