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 config filter can drop core.hooksPath

A new helper can remove the core.hooksPath setting from a git configuration list in Claude Code's git and worktree support

Under the hood Internal Changes
JSON All of v2.1.281
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
GitArea: what it touches
Internal ChangesKind: in v2.1.281,
Internal ChangesSection of the release

Unclear The finding does not say when the helper is asked to drop core.hooksPath or which git operations use it.

What

Claude Code's git and worktree support code has a new helper that can take a list of git configuration settings and remove core.hooksPath from it. A worktree is a second working copy of the same git repository. core.hooksPath is the git setting that tells git which folder holds its hook scripts, which are scripts git runs automatically at certain moments such as before a commit.

The helper removes the setting only when it is asked to. Otherwise it returns the list unchanged.

Why

In practice, some git configuration that Claude Code passes along can now leave out the pointer to a custom hooks folder.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe finding does not say when the helper is asked to drop `core.hooksPath` or which git operations use it.

See this entry in the whole of v2.1.281 →

Feedback