The per-repo session header displays a diff counter (e.g. +12,543 −3,695) next to a "Commit changes" button. The counter reflects the branch's diff against the base branch (git diff main...HEAD), but the button label implies there is uncommitted work pending.
This is misleading: immediately after committing and pushing — when git status reports a completely clean working tree — the counter stays populated and the button remains active, suggesting there is still something to commit when there is not.
Repro
- On a feature branch with commits ahead of
main, commit and push all changes (clean working tree).
- Observe the header still shows a large insertion/deletion count and an active "Commit changes" button.
git status confirms nothing to commit.
Expected
The counter and button should distinguish committed branch changes vs. base from uncommitted working-tree changes. With a clean tree, the "Commit changes" button should be disabled/hidden (or relabeled, e.g. "Branch diff: …"), so it does not imply pending work.
The per-repo session header displays a diff counter (e.g.
+12,543 −3,695) next to a "Commit changes" button. The counter reflects the branch's diff against the base branch (git diff main...HEAD), but the button label implies there is uncommitted work pending.This is misleading: immediately after committing and pushing — when
git statusreports a completely clean working tree — the counter stays populated and the button remains active, suggesting there is still something to commit when there is not.Repro
main, commit and push all changes (clean working tree).git statusconfirms nothing to commit.Expected
The counter and button should distinguish committed branch changes vs. base from uncommitted working-tree changes. With a clean tree, the "Commit changes" button should be disabled/hidden (or relabeled, e.g. "Branch diff: …"), so it does not imply pending work.