From 21cc93c3d1dcec8bd3ffe858f511ec68f74379ce Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Sun, 19 Nov 2017 15:26:32 +0300 Subject: [PATCH] git tests: add debug logs for test failures "no changelist for conflicts created" --- plugins/git4idea/src/git4idea/GitApplyChangesProcess.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/git4idea/src/git4idea/GitApplyChangesProcess.kt b/plugins/git4idea/src/git4idea/GitApplyChangesProcess.kt index e7741575811b..7854640a2202 100644 --- a/plugins/git4idea/src/git4idea/GitApplyChangesProcess.kt +++ b/plugins/git4idea/src/git4idea/GitApplyChangesProcess.kt @@ -251,6 +251,7 @@ class GitApplyChangesProcess(private val project: Project, private fun removeChangeListIfEmpty(changeList: LocalChangeList) { val actualList = changeListManager.getChangeList(changeList.id) if (actualList != null && actualList.changes.isEmpty()) { + LOG.debug("Changelist $actualList is empty, removing.") changeListManager.removeChangeList(actualList) } }