diff -r dfeefad914ed -r 6f079c524e99 eric7/Plugins/VcsPlugins/vcsGit/git.py --- a/eric7/Plugins/VcsPlugins/vcsGit/git.py Sun Apr 03 17:23:31 2022 +0200 +++ b/eric7/Plugins/VcsPlugins/vcsGit/git.py Mon Apr 04 17:43:43 2022 +0200 @@ -25,6 +25,7 @@ from .GitDialog import GitDialog +import Globals import Utilities import Preferences @@ -1832,7 +1833,8 @@ import sys editor = sys.argv[0].replace(".py", "_editor.py") - env = {"GIT_EDITOR": "{0} {1}".format(sys.executable, editor)} + env = {"GIT_EDITOR": "{0} {1}".format( + Globals.getPythonExecutable(), editor)} args = self.initCommand("commit") @@ -3221,7 +3223,8 @@ import sys editor = sys.argv[0].replace(".py", "_editor.py") - env = {"GIT_EDITOR": "{0} {1}".format(sys.executable, editor)} + env = {"GIT_EDITOR": "{0} {1}".format( + Globals.getPythonExecutable(), editor)} args = self.initCommand("cherry-pick") args.append("--continue")