settings-sync: improve logging: mention xml files which have been changed

GitOrigin-RevId: 8c9b4f0df48a64639005ce8fbf4910f72447f536
This commit is contained in:
Kirill Likhodedov
2022-02-04 13:19:18 +00:00
committed by intellij-monorepo-bot
parent 1ee2d076d6
commit 1228ea6bef
@@ -153,7 +153,7 @@ internal class GitSettingsLog(private val settingsSyncStorage: Path,
private fun applySnapshotAndCommit(refName: String, snapshot: SettingsSnapshot) {
// todo check repository consistency before each operation: that we're on master, that rb is deleted, that there're no uncommitted changes
LOG.info("Applying settings changes to branch $refName")
LOG.info("Applying settings changes to branch $refName: " + snapshot.fileStates.joinToString(limit = 5) { it.file })
val addCommand = git.add()
val message = "Apply changes received from $refName"
for (fileState in snapshot.fileStates) {