diff --git a/plugins/git4idea/src/git4idea/commands/GitHandler.java b/plugins/git4idea/src/git4idea/commands/GitHandler.java index 52aec9f6388e..d24185fd0724 100644 --- a/plugins/git4idea/src/git4idea/commands/GitHandler.java +++ b/plugins/git4idea/src/git4idea/commands/GitHandler.java @@ -435,6 +435,7 @@ public abstract class GitHandler { } } setUpLocale(); + unsetGitTrace(); myCommandLine.getEnvironment().clear(); myCommandLine.getEnvironment().putAll(myEnv); // start process @@ -457,6 +458,10 @@ public abstract class GitHandler { myEnv.putAll(VcsLocaleHelper.getDefaultLocaleEnvironmentVars("git")); } + private void unsetGitTrace() { + myEnv.put("GIT_TRACE", "0"); + } + private void setupHttpAuthenticator() throws IOException { GitHttpAuthService service = ServiceManager.getService(GitHttpAuthService.class); myEnv.put(GitAskPassXmlRpcHandler.GIT_ASK_PASS_ENV, service.getScriptPath().getPath());