##// END OF EJS Templates
subrepo: disable localizations when calling Git (issue5176)...
Matt Mackall -
r28949:9d3e2808 default
parent child Browse files
Show More
@@ -1387,6 +1387,8 b' class gitsubrepo(abstractsubrepo):'
1387 1387 self.ui.debug('%s: git %s\n' % (self._relpath, ' '.join(commands)))
1388 1388 if env is None:
1389 1389 env = os.environ.copy()
1390 # disable localization for Git output (issue5176)
1391 env['LC_ALL'] = 'C'
1390 1392 # fix for Git CVE-2015-7545
1391 1393 if 'GIT_ALLOW_PROTOCOL' not in env:
1392 1394 env['GIT_ALLOW_PROTOCOL'] = 'file:git:http:https:ssh'
General Comments 0
You need to be logged in to leave comments. Login now