Anton Shestakov <av6@dwimlabs.net>, Sun, 12 Apr 2020 23:54:41 +0800
checker: run git with C.UTF-8 instead of en_US.UTF-8
Just in case it makes any difference. C is supposedly more machine-readable.
--- a/checker.py Sun Apr 12 23:53:10 2020 +0800
+++ b/checker.py Sun Apr 12 23:54:41 2020 +0800
def run_git(args, **kwargs):
env = kwargs.pop('env', {})
- env.update({'LC_ALL': 'en_US.UTF-8'})
+ env.update({'LC_ALL': 'C.UTF-8'})
return run(['git'] + args, env=env, **kwargs)