From fd77b9f20d446b734c252f4a670ab8e6548022b5 Mon Sep 17 00:00:00 2001 From: Marvin Kuurstra Date: Tue, 11 Oct 2016 16:01:26 +0200 Subject: [PATCH] Fixed issue #480 with home on different drive --- git/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/__init__.py b/git/__init__.py index 3d83b61c..a8c81411 100644 --- a/git/__init__.py +++ b/git/__init__.py @@ -202,7 +202,7 @@ def run(self): if sublime.platform() == 'windows': shell = True if 'HOME' not in env: - env[str('HOME')] = str(env['USERPROFILE']) + env[str('HOME')] = str(env['HOMEDRIVE']) + str(env['HOMEPATH']) # universal_newlines seems to break `log` in python3 proc = subprocess.Popen(self.command,