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 ·

Repo git hooks are opt-in, tag pushes opt in, and GIT_CONFIG is blocked

Repo git hooks stay suppressed by default, tag pushes excepted, and GIT_CONFIG is now cleared.

You'll notice Notable 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,
What probably matters to youSection of the release
What

The hook-suppressing config described above defaults to on, and only tag pushes ask for it to be lifted so repository push hooks still run. Diffs now pass --ignore-submodules=none and --end-of-options, sparse checkout is forced off for some operations, and GIT_CONFIG was added to the git environment variables Claude Code clears.

Details
  • The argv builder signature defaults to hooks suppressed; the tag-push call site is the exception.
  • --end-of-options stops a path or ref that looks like a flag from being read as one.
Evidence

allowRepoGitHooks

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