Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.269 ·

Dir-sync git operations now disable custom git hooks in addition to filters

Background git operations now also disable custom git hooks, not just content filters

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaElsewherewhat it touches
KindInternal Changesin v2.1.269,
Under the hood

Background git operations now also disable custom git hooks, not just content filters

What

When Claude Code runs background git operations (like syncing a working directory), it already built a list of git config overrides to disable content filters before running a merge or read-tree. It now also builds a second list of overrides that disables custom git hooks, using settings like hook.<name>.enabled=false, and applies both lists together.

Why

This prevents a repository's custom git hooks from unexpectedly firing during Claude Code's own internal background git operations, which could otherwise run unwanted user-defined scripts.

See this entry in the whole of v2.1.269 →