diff --git a/plugins/git4idea/src/git4idea/rebase/GitRewordAction.kt b/plugins/git4idea/src/git4idea/rebase/GitRewordAction.kt index 8bce16cc08bb..715123ced557 100644 --- a/plugins/git4idea/src/git4idea/rebase/GitRewordAction.kt +++ b/plugins/git4idea/src/git4idea/rebase/GitRewordAction.kt @@ -22,9 +22,9 @@ internal class GitRewordAction : GitSingleCommitEditingAction() { val commit = details.first() val dialog = GitNewCommitMessageActionDialog( commitEditingData, - commit.fullMessage, - GitBundle.getString("rebase.log.reword.dialog.title"), - GitBundle.message( + originMessage = commit.fullMessage, + title = GitBundle.getString("rebase.log.reword.dialog.title"), + dialogLabel = GitBundle.message( "rebase.log.reword.dialog.description.label", commit.id.toShortString(), getShortPresentation(commit.author) diff --git a/plugins/git4idea/src/git4idea/rebase/log/squash/GitSquashLogAction.kt b/plugins/git4idea/src/git4idea/rebase/log/squash/GitSquashLogAction.kt index 72fd8685c507..29521a57810b 100644 --- a/plugins/git4idea/src/git4idea/rebase/log/squash/GitSquashLogAction.kt +++ b/plugins/git4idea/src/git4idea/rebase/log/squash/GitSquashLogAction.kt @@ -21,9 +21,9 @@ internal class GitSquashLogAction : GitMultipleCommitEditingAction() { val selectedCommitDetails = getOrLoadDetails(commitEditingData.project, commitEditingData.logData, commitEditingData.selectedCommitList) val dialog = GitNewCommitMessageActionDialog( commitEditingData, - selectedCommitDetails.joinToString("\n".repeat(3)) { it.fullMessage }, - GitBundle.getString("rebase.log.squash.new.message.dialog.title"), - GitBundle.getString("rebase.log.squash.new.message.dialog.label") + originMessage = selectedCommitDetails.joinToString("\n".repeat(3)) { it.fullMessage }, + title = GitBundle.getString("rebase.log.squash.new.message.dialog.title"), + dialogLabel = GitBundle.getString("rebase.log.squash.new.message.dialog.label") ) dialog.show { newMessage -> squashInBackground(commitEditingData, selectedCommitDetails, newMessage)