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 ·

Git commands after a folder change or a write to git's own files get flagged

Claude Code now flags a git command it cannot check safely because it follows a folder change or a write to files like HEAD, config or hooks

You'll notice Improvements
JSON All of v2.1.327
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.327,
ImprovementsSection of the release
What

Claude Code checks git commands against its read block, a rule that limits which commands may only read. Before, this check gave a plain yes or no. It now returns a list of reasons, and it covers two more cases:

  • Git run after a directory change in the same command line
  • Git run after something writes to files git itself reads, such as HEAD, config or hooks

In these cases Claude Code reports: "Git after a directory change, or after writes to files git reads (HEAD, config, hooks), cannot be checked against the read block".

Why

This makes a permission safety check stricter for compound git commands, meaning several commands chained on one line. Changing folder or editing git's own files first can change what a later git command does, so Claude Code no longer treats such a command as safely checkable.

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