git: better name for the git debug registry property

Follow-up ef2e25b0

GitOrigin-RevId: 049af4532ff9d7f549033e030f6f5c8bf25ceb48
This commit is contained in:
Dmitriy Smirnov
2019-08-27 10:01:23 +03:00
committed by intellij-monorepo-bot
parent 2f35af4529
commit 7b4a0c6277
2 changed files with 3 additions and 3 deletions
@@ -1152,8 +1152,8 @@ git.execute.with.mediator.description=Use wrapper executable on Windows to suppo
git.blocking.read=true
git.allow.stderr.to.stdout.mixing=false
git.allow.stderr.to.stdout.mixing.description=Enables legacy hack for git integration, when some messages from stderr are handled as if they came from stdout.
git.execution.debuginfo=0
git.execution.debuginfo.description=Bitmask to control git logging of the commands executed by the IDE. Specified as int.\n\
git.execution.trace=0
git.execution.trace.description=Bitmask to control git logging of the commands executed by the IDE. Specified as int.\n\
(0) 00000 - logging disabled\n\
(31) 11111 - all categories enabled\n\
(1) 00001 - GIT_TRACE\n\
@@ -207,7 +207,7 @@ public abstract class GitImplBase implements Git {
@NotNull
public static Map<String, String> getGitTraceEnvironmentVariables(@NotNull GitVersion version) {
Map<String, String> environment = new HashMap<>(5);
int logLevel = Registry.intValue("git.execution.debuginfo");
int logLevel = Registry.intValue("git.execution.trace");
if (logLevel == 0) {
environment.put("GIT_TRACE", "0");
if (GitVersionSpecialty.ENV_GIT_TRACE_PACK_ACCESS_ALLOWED.existsIn(version)) environment.put("GIT_TRACE_PACK_ACCESS", "");