From de197825c215a09eed6e8f2c7911bca11896346a Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Sun, 19 Nov 2017 16:39:33 +0300 Subject: [PATCH] git tests: more debug logs for test failures "no commit dialog was shown" --- plugins/git4idea/src/git4idea/GitApplyChangesProcess.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/git4idea/src/git4idea/GitApplyChangesProcess.kt b/plugins/git4idea/src/git4idea/GitApplyChangesProcess.kt index 7854640a2202..7f345cf4a42e 100644 --- a/plugins/git4idea/src/git4idea/GitApplyChangesProcess.kt +++ b/plugins/git4idea/src/git4idea/GitApplyChangesProcess.kt @@ -199,7 +199,8 @@ class GitApplyChangesProcess(private val project: Project, } val changes = actualList.changes if (changes.isEmpty()) { - LOG.debug("No changes in the $actualList. All changes in the CLM: ${changeListManager.allChanges}") + val changesString = changeListManager.changeLists.map { it -> "[${it.name}] ${it.changes}" } + LOG.debug("No changes in the $actualList. All changes in the CLM: $changesString") alreadyPicked.add(commit) return true }