Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 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

Entry
JSON All of v2.1.281
EntryKind: in v2.1.281,
ChangesSection of the release
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