We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 64ec693 + f5269ee commit 0115c69Copy full SHA for 0115c69
git.py
@@ -118,7 +118,8 @@ def run(self):
118
proc = subprocess.Popen(self.command,
119
stdout=self.stdout, stderr=subprocess.STDOUT,
120
stdin=subprocess.PIPE,
121
- shell=shell, universal_newlines=True)
+ shell=shell, universal_newlines=True,
122
+ env=os.environ)
123
output = proc.communicate(self.stdin)[0]
124
if not output:
125
output = ''
@@ -346,4 +347,4 @@ def run(self, edit):
346
347
class GitGitkThisFileCommand(GitTextCommand):
348
def run(self, edit):
349
command = ['gitk', self.get_file_name()]
- self.run_command(command)
350
+ self.run_command(command)
0 commit comments