Show More
@@ -1387,6 +1387,8 b' class gitsubrepo(abstractsubrepo):' | |||||
1387 | self.ui.debug('%s: git %s\n' % (self._relpath, ' '.join(commands))) |
|
1387 | self.ui.debug('%s: git %s\n' % (self._relpath, ' '.join(commands))) | |
1388 | if env is None: |
|
1388 | if env is None: | |
1389 | env = os.environ.copy() |
|
1389 | env = os.environ.copy() | |
|
1390 | # disable localization for Git output (issue5176) | |||
|
1391 | env['LC_ALL'] = 'C' | |||
1390 | # fix for Git CVE-2015-7545 |
|
1392 | # fix for Git CVE-2015-7545 | |
1391 | if 'GIT_ALLOW_PROTOCOL' not in env: |
|
1393 | if 'GIT_ALLOW_PROTOCOL' not in env: | |
1392 | env['GIT_ALLOW_PROTOCOL'] = 'file:git:http:https:ssh' |
|
1394 | env['GIT_ALLOW_PROTOCOL'] = 'file:git:http:https:ssh' |
General Comments 0
You need to be logged in to leave comments.
Login now