Skip to content

Claude Code on Claude Desktop app (mac os): FleetView header shows "Commit changes" button + diff counter on a clean working tree #65377

Description

@jaimegago

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

  1. On a feature branch with commits ahead of main, commit and push all changes (clean working tree).
  2. Observe the header still shows a large insertion/deletion count and an active "Commit changes" button.
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:agent-viewclaude agents TUI / --bg / FleetView / daemon bg sessionsarea:uibugSomething isn't workinghas reproHas detailed reproduction stepsstaleIssue is inactive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions