{"version":"2.1.333","anchor":"git-diff-no-longer-hard-codes-hookspathfsmonitor-overrides","canonical_anchor":"git-diff-no-longer-hard-codes-hookspathfsmonitor-overrides","heading":"git diff now takes its safety settings from the shared list","tier":"internal","area":"Git","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/git-diff-no-longer-hard-codes-hookspathfsmonitor-overrides","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### git diff now takes its safety settings from the shared list\n\ngit diff no longer carries its own inline hooks and file-monitor overrides and now uses the shared settings; core.askPass is still emptied\n\n**What**\n\nThe `git diff` command that Claude Code runs no longer spells out its own settings to switch off hooks (`core.hooksPath=\/dev\/null`) and the file-system monitor (`core.fsmonitor=`). It now takes the shared set of git settings instead, and still passes an empty `core.askPass=` so git does not run a password helper program.\n\n**Why**\n\nThis is tidying around the safety settings git runs with. Keeping them in one shared place means `git diff` gets the same protection as other git commands instead of its own separate copy.\n\n- Area: Git\n- Names: `core.hooksPath`, `core.fsmonitor`\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}