{"version":"2.1.269","anchor":"dir-sync-git-operations-now-disable-custom-git-hooks-in-addi","canonical_anchor":"dir-sync-git-operations-now-disable-custom-git-hooks-in-addi","heading":"Dir-sync git operations now disable custom git hooks in addition to filters","tier":"internal","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.269\/e\/dir-sync-git-operations-now-disable-custom-git-hooks-in-addi","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.269","markdown":"### Dir-sync git operations now disable custom git hooks in addition to filters\n\nBackground git operations now also disable custom git hooks, not just content filters\n\n**What**\n\nWhen 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.\n\n**Why**\n\nThis 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.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}