Repo status badge labeled "Commit changes" reflects unpushed commits, not uncommitted changes (misleading)

Open 💬 0 comments Opened Jul 2, 2026 by kanozisan

Summary

In the desktop app's repository status bar, a badge shows a +N −N line diff next to a button labeled "Commit changes" ("変更をコミット"). However, the badge actually reflects committed-but-unpushed commits (i.e. the branch is ahead of its remote), not uncommitted working-tree changes. The label and the surfaced state are inverted from what users expect, which is confusing.

Steps to reproduce

  1. Open a git repo whose local branch equals its remote (clean working tree, not ahead). → status bar shows nothing.
  2. Create a new (untracked) file and leave it uncommitted. → nothing appears in the status bar. The genuinely-uncommitted change is not surfaced.
  3. git commit that file but do not push. → the status bar now shows +13 −0 with the "Commit changes" / "変更をコミット" button — even though the working tree is clean and the change is already committed.
  4. git reset --hard HEAD~1 (or git push). → the badge clears.

Actual behavior

  • The badge/diff count tracks the unpushed state (commits ahead of the remote).
  • It is labeled "Commit changes", even though in this state the only pending git action is push, not commit.
  • Genuinely uncommitted changes (a new untracked file) are not shown at all.

Expected behavior

  • Surface uncommitted working-tree changes and offer a Commit action.
  • Surface unpushed commits separately (e.g. ↑N / "N commits to push") and offer a Push action.
  • Do not label an ahead-of-remote state as "Commit changes."

Environment

  • Claude Code desktop app, macOS.
  • Model shown in the composer: Opus 4.8.
  • Git repo located under an iCloud Drive path, remote on GitHub Enterprise.
  • Claude desktop app version: 1.17377.2 (e0ea9e), build 2026-07-01T05:51:58Z.

Notes

  • The "uncommitted change not shown" observation was verified with a new untracked file only; behavior for a modified tracked file was not separately tested.
  • Localized UI: the button text observed was Japanese "変更をコミット" (= "Commit changes").

View original on GitHub ↗