[SERVER-44955] Force reading patch files with UTF-8 encoding in git.py Created: 04/Dec/19 Updated: 29/Oct/23 Resolved: 05/Dec/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Geert Bosch | Assignee: | Geert Bosch |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Execution Team 2019-12-16 |
| Participants: |
| Description |
|
In some cases when clang-format.py is invoked from other Python scripts, Python reverts to a non-UTF8 encoding. The result is an obscure crash of the script without message and with error code 1. |
| Comments |
| Comment by Githook User [ 05/Dec/19 ] |
|
Author: {'name': 'Geert Bosch', 'username': 'GeertBosch', 'email': 'geert.bosch@mongodb.com'}Message: |