[git] Rebase: Add parameter names to constructor calls

GitOrigin-RevId: 22e386aa71ec3e122693b5e9b273e1d667acf5ae
This commit is contained in:
Nikolay Rykunov
2020-06-09 15:04:37 +03:00
committed by intellij-monorepo-bot
parent d8fa7f499b
commit 7f3f2b0495
2 changed files with 6 additions and 6 deletions
@@ -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)
@@ -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)