diff --git a/git/__init__.py b/git/__init__.py index 2688de47..00aa7905 100644 --- a/git/__init__.py +++ b/git/__init__.py @@ -206,7 +206,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(