M4.5: branch status-bar item and branches popup

The status bar shows the current branch (short hash when detached). Its
popup lists local, then remote branches with a filter and New branch;
checkout runs flushDirty first and toasts git's refusal. Commands
vcs.branches, vcs.newBranch and vcs.checkout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
danny 2026-10-26 17:40:33 +01:00
parent b3642e53ea
commit 149a6c7049
18 changed files with 1585 additions and 17 deletions

View file

@ -275,8 +275,10 @@ describe("AppMenu", () => {
"goto.fileOpen",
"goto.classOpen",
"goto.symbolOpen",
"vcs.branches",
"vcs.openChanges",
"vcs.commit",
"vcs.newBranch",
"vcs.nextChange",
"vcs.previousChange",
"vcs.refresh",