With the modal commit interface, selecting files or a folder in the Commit
Changes dialog and pressing a selection shortcut (Add to VCS, Rollback,
Show Diff) did nothing or acted on the active editor: the dialog keeps the
previously focused window as the active tool window, so the actions never
read the dialog's changes tree.
The dialog's changes tree now publishes its own selection, and the
selection-based actions use it while focus is inside that tree, with an
empty selection taken as final. The shared commit selection is not used
there, so a leftover Local Changes selection cannot leak into the dialog;
Rollback targets the dialog's selection and never widens to the checked
changes.
Co-authored-by: aevioni <[email protected]>
Add to VCS staged every selected repository's files in one call, so a locked index in one repository left the others unstaged. It now stages each repository separately, names the repository in the notification when several are involved, and refreshes once at the end.
Co-authored-by: faysou <[email protected]>