[BUG] UI "View diff / Commit changes" bar does not refresh after commits made via Bash tool

Resolved 💬 4 comments Opened Apr 13, 2026 by noguchLM Closed May 24, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

The top bar showing uncommitted changes ("View diff" / "Commit changes") does not update after a commit is made through the Bash tool during a conversation. It continues to show stale diff data even though git status confirms a clean working tree.

What Should Happen?

Expected behavior:

The top bar should reflect the current git status after a commit is made, either via polling or by reacting to git operations executed through the Bash tool.

Error Messages/Logs

Steps to Reproduce

Steps to reproduce:

Start a conversation in a git repo with a clean working tree
Make file changes via Edit/Write tools (the top bar correctly shows "View diff")
Stage and commit the changes via the Bash tool (git add + git commit)
Run git status — confirms clean tree, nothing to commit
The top bar still shows "View diff" / "Commit changes" with the old diff

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

  • Claude Code version: 2.1.92

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

Environment:

Claude Code Desktop App (Windows 11 Pro 10.0.26200)
Claude Opus 4.6
Git repo with remote on GitHub

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗