Skip to content

Commit fd77b9f

Browse files
committed
Fixed issue #480 with home on different drive
1 parent fa446df commit fd77b9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def run(self):
202202
if sublime.platform() == 'windows':
203203
shell = True
204204
if 'HOME' not in env:
205-
env[str('HOME')] = str(env['USERPROFILE'])
205+
env[str('HOME')] = str(env['HOMEDRIVE']) + str(env['HOMEPATH'])
206206

207207
# universal_newlines seems to break `log` in python3
208208
proc = subprocess.Popen(self.command,

0 commit comments

Comments
 (0)