forked fromgitpython-developers/GitPython
- Notifications
You must be signed in to change notification settings - Fork0
Commit8df6b87

Darragh Bailey
Copy environment for subprocess execution
Git utilizes multiple environment variables to control variousbehaviours. Make sure to set LC_MESSAGES on a copy of the environmentinstead of discarding any variables that may be set by the user ordefault shell environment such as EDITOR.Add test to assert that when overriding GIT_EDITOR via os.environ thatthe modified value will be picked up by and git commands called.1 parent2af9892 commit8df6b87
2 files changed
+9
-1
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
341 | 341 |
| |
342 | 342 |
| |
343 | 343 |
| |
| 344 | + | |
| 345 | + | |
344 | 346 |
| |
345 |
| - | |
| 347 | + | |
346 | 348 |
| |
347 | 349 |
| |
348 | 350 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
| |||
128 | 129 |
| |
129 | 130 |
| |
130 | 131 |
| |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + |
0 commit comments
Comments
(0)