You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an amend flow reachable from two entry points — right-clicking the
uncommitted-changes row ("Amend '<branch/sha>'") or the most recent commit
row ("Amend Commit"). Both open a shared AmendModal and reveal the SCM view
(returning focus to the webview so the modal stays keyboard-interactive).
The modal lets the user keep or edit the message, set the date to now
(--date=now), reset the author (--reset-author), and exclude staged changes
(--only). It shows a live staged-file count styled like the conflict-detection
status (warning when 0), refreshed whenever the index changes, and warns in red
when the commit is already pushed.
Backend: GitService.amendCommit + amendCommit message/handler; openDiff gains a
staged flag; openScmView gains returnFocus.
0 commit comments