void (@NotNull GitLineHandler handler) { if (handler.isSilent()) return; Project project = handler.project(); if (project != null && !project.isDefault()) { String workingDir = stringifyWorkingDir(project.getBasePath(), handler.getWorkingDirectory()); GitVcsConsoleWriter.getInstance(project).showCommandLine(String.format("[%s] %s", workingDir, handler.printableCommandLine())); handler.addLineListener(new GitCommandOutputLogger(project, handler)); } }