Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

git allowlist: --no-lazy-fetch and --no-advice accepted as global options

Claude Code's git permission checks now recognise --no-lazy-fetch and --no-advice as git global options

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

Git global options are the flags you write between git and the subcommand, as in git --no-advice status. Claude Code keeps a list of them so that, when it checks whether a git command is allowed, it can skip past them and find the real subcommand. --no-lazy-fetch and --no-advice are now on that list. One check that uses the list is the one for rev-parse --git-dir.

Why

Git commands that include either flag are now read correctly when Claude Code works out which subcommand is being run, instead of the flag being mistaken for the subcommand.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed sandbox excludedCommands entries not matching git rev-parse --git-dir, programs named like shell builtins, and commit messages…

See this entry in the whole of v2.1.281 →

Feedback