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.