Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.247 ·

Every git command now runs with hooks, filesystem monitors and prompt helpers disabled

Every git command Claude runs now has hooks, filesystem monitors and prompt helpers turned off.

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

All git invocations go through one wrapper that pins a fixed set of config so a repository cannot make git run its own programs. Hooks are pointed at the null device, protocol.ext.allow is set to never, submodule recursion and signature display are off, core.fsmonitor and core.askPass are neutralized, and GIT_PROXY_COMMAND is blanked. Callers that deliberately want repo hooks can opt back in.

Details
  • core.hooksPath is forced to /dev/null, or \\.\NUL on Windows, and a caller-supplied hooks path is rewritten back to the null device.
  • An allowRepoGitHooks option drops the hooks, askPass and submodule entries for the few call sites that want repo behaviour.
  • Previously this module only carried the GIT_TERMINAL_PROMPT/GIT_ASKPASS/GCM_INTERACTIVE environment settings and the ssh BatchMode arguments.
Evidence

protocol.ext.allow

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from

See this entry in the whole of v2.1.247 →

Feedback