From 4a20b9080e300ba7be443bb33e4c6449a6a14400 Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Tue, 27 Dec 2011 16:28:39 +0300 Subject: [PATCH] IDEA-76150 Don't redefine %HOME% env variable --- plugins/git4idea/src/git4idea/commands/GitHandler.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/plugins/git4idea/src/git4idea/commands/GitHandler.java b/plugins/git4idea/src/git4idea/commands/GitHandler.java index a5ed7bb705a5..79e0779f14d8 100644 --- a/plugins/git4idea/src/git4idea/commands/GitHandler.java +++ b/plugins/git4idea/src/git4idea/commands/GitHandler.java @@ -109,12 +109,6 @@ public abstract class GitHandler { myAppSettings = GitVcsApplicationSettings.getInstance(); myProjectSettings = GitVcsSettings.getInstance(myProject); myEnv = new HashMap(System.getenv()); - if (!myEnv.containsKey("HOME")) { - String home = System.getProperty("user.home"); - if (home != null) { - myEnv.put("HOME", home); - } - } myVcs = GitVcs.getInstance(project); myWorkingDirectory = directory; myCommandLine = new GeneralCommandLine();