forked fromgitpython-developers/GitPython
- Notifications
You must be signed in to change notification settings - Fork0
Commit3eb7265
committed
Ensure consistent output from git command
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#1531 parent27c577d commit3eb7265
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
316 | 316 |
| |
317 | 317 |
| |
318 | 318 |
| |
| 319 | + | |
| 320 | + | |
| 321 | + | |
319 | 322 |
| |
320 | 323 |
| |
321 | 324 |
| |
| |||
333 | 336 |
| |
334 | 337 |
| |
335 | 338 |
| |
| 339 | + | |
336 | 340 |
| |
337 | 341 |
| |
338 | 342 |
| |
|
0 commit comments
Comments
(0)