Add contextual bulk actions to the Git sidebar #3
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/git-sidebar-bulk-actions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Put Stage All and Unstage All next to the relevant Git sidebar sections. The sidebar, menu and command palette share a single asynchronous action. Bulk actions leave conflicts untouched and only alter the Git index. NUL-separated literal pathspecs handle unusual names and large selections without argument-size limits.
Verification
cargo test --locked: 48 passed, including real disposable repos for unborn branches, conflicts, rename handling, failures, and large/unusual selections. Native Xvfb verified both controls and unstaging; staging verified on the initial implementation. At the minimum sidebar width long section headings are truncated, but action links and counts remain visible. In-memory edits are not staged; the working tree is untouched. The existing non-UTF-8 filename limitation remains.fbabadbd66d69de12f28