You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
WindowsArea: what it touches
ImprovementsKind: in v2.1.337,
ImprovementsSection of the release
Unclear It is not clear which Claude Code feature does this watching.
What
Git hooks are scripts in a project that git runs on its own when certain things happen. On Windows, Claude Code can now point git's hooks setting at the Windows null device with -c core.hooksPath=//./NUL. The null device is a stand-in location that holds nothing. This stops hooks from running while Claude Code is watching for changes.
Claude Code also asks both copies of git it uses whether they understand this setting. If one does not, it shows a message asking you to upgrade git, because that git might still run hooks. Two other checks come with this:
A check for hidden Unicode characters in names.
Scanning of hook commands that understands PowerShell.
Why
This stops a project's git hooks from running unexpectedly on Windows while Claude Code is watching it. Older versions of git may not understand the setting, which is why you may be asked to upgrade.