Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Git InternalsArea: what it touches
Internal ChangesKind: in v2.1.277,
Internal ChangesSection of the release
What
When Claude Code builds the environment for a spawned git process, it merges in GIT_CONFIG_KEY_N/GIT_CONFIG_VALUE_N pairs pulled from GIT_CONFIG_COUNT, but now explicitly drops any key that starts with hook. before passing the merged environment through.
Why
This stops git config overrides from being able to set hook-related configuration when Claude Code runs git commands, closing off one way hook behavior could be redirected via environment variables.