Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ private static void composeCommand(File workingDirectory, String command, Comman
public static int execute(
Commandline commandline, StreamConsumer consumer, CommandLineUtils.StringStreamConsumer stderr)
throws ScmException {
if (LOGGER.isInfoEnabled()) {
LOGGER.info("Executing: " + commandline);
LOGGER.info(
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("Executing: " + commandline);
LOGGER.debug(
"Working directory: " + commandline.getWorkingDirectory().getAbsolutePath());
}

Expand All @@ -162,9 +162,9 @@ public static int execute(
CommandLineUtils.StringStreamConsumer stdout,
CommandLineUtils.StringStreamConsumer stderr)
throws ScmException {
if (LOGGER.isInfoEnabled()) {
LOGGER.info("Executing: " + commandLine);
LOGGER.info(
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("Executing: " + commandLine);
LOGGER.debug(
"Working directory: " + commandLine.getWorkingDirectory().getAbsolutePath());
}

Expand Down
Loading