Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.327 ·

Commit command's diff check can no longer mistake a file for a branch

The commit command now runs git diff HEAD --, so a file named like a branch or tag no longer confuses it

You'll notice Bug Fixes
JSON All of v2.1.327
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
GitArea: what it touches
Bug FixesKind: in v2.1.327,
Bug FixesSection of the release
What

When the commit command gathers information about your changes, it now runs git diff HEAD -- instead of git diff HEAD. The -- tells git that anything after it is a file path, not the name of a branch or tag.

Why

This is a small robustness fix. In a project with a file that has the same name as a branch or tag, git could misread the command, and that can no longer happen.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed claude agents and claude rm refusing to remove a fully pushed session ("The worktree has unpushed commits") when its worktree has a…

See this entry in the whole of v2.1.327 →

Feedback