Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.247 Home All releases olderv2.1.246 v2.1.248newer
Claude Code v2.1.247

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

You'll notice
Useful3 Signal3
Git Safety Notable not in their notes

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

GIT_CONFIG--ignore-submodules=none--end-of-options
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.

See this entry in the whole of v2.1.247 →