[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: SERVER-44955 Force reading patch files with UTF-8 encoding in git.py
Branch: master
https://github.com/mongodb/mongo/commit/95eedd93ea7a5b8b35b9bb042d5ca165736c17c2

Generated at Thu Feb 08 05:07:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.