mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
vcs: non-modal: Update commit options based on current change list on "Commit" invocation (IDEA-216219)
GitOrigin-RevId: 29c4318cef89d7968dee2a393bc29603cb27d32e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c224531062
commit
b00a983b0e
@@ -73,6 +73,8 @@ class ChangesViewCommitWorkflowHandler(
|
||||
|
||||
workflow.initCommitOptions(createCommitOptions())
|
||||
commitOptions.restoreState()
|
||||
|
||||
currentChangeList?.let { commitOptions.changeListChanged(it) }
|
||||
}
|
||||
return commitOptions
|
||||
}
|
||||
@@ -175,6 +177,8 @@ class ChangesViewCommitWorkflowHandler(
|
||||
|
||||
val newCommitMessage = newChangeList?.let { commitMessagePolicy.getCommitMessage(it) { getIncludedChanges() } }
|
||||
setCommitMessage(newCommitMessage)
|
||||
|
||||
newChangeList?.let { commitOptions.changeListChanged(it) }
|
||||
}
|
||||
|
||||
override fun inclusionChanged() {
|
||||
|
||||
Reference in New Issue
Block a user