Claude Code v2.1.321 ·
Two more git settings are treated as dangerous
Claude Code now treats the git settings format.outputdirectory and format.suffix as dangerous, like core.worktree and core.bare
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.321,
ImprovementsSection of the release
What
Git is the version-control tool many projects use. Claude Code keeps a list of git settings it treats as dangerous. That list now also includes:
They sit alongside core.worktree and core.bare.
Why
These settings can make git write files outside the project, so a project's own settings are less able to do that unnoticed.
See this entry in the whole of v2.1.321 →