IDEA-76150 Don't redefine %HOME% env variable

This commit is contained in:
Kirill Likhodedov
2011-12-27 16:28:39 +03:00
parent 7877867fe5
commit 4a20b9080e
@@ -109,12 +109,6 @@ public abstract class GitHandler {
myAppSettings = GitVcsApplicationSettings.getInstance();
myProjectSettings = GitVcsSettings.getInstance(myProject);
myEnv = new HashMap<String, String>(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();