{"version":"2.1.333","anchor":"added-git-commit-detection-regex-fix","canonical_anchor":"added-git-commit-detection-regex-fix","heading":"Detection of git commit commands is stricter","tier":"notice","area":"Git","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/added-git-commit-detection-regex-fix","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Detection of git commit commands is stricter\n\nClaude Code's check for whether a shell command is a git commit now matches fewer commands by mistake\n\n**What**\n\nClaude Code checks shell commands to tell whether they are a `git commit`. That check has been tightened. It now reads options such as `-c name=value` more strictly and has an extra rule to avoid matching things that only look like a commit. This should stop some commands being wrongly counted as commits and keeps the check from slowing down on long commands.\n\n**Why**\n\nIt changes which commands Claude Code treats as a git commit.\n\n- Area: Git\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}