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…