{"version":"2.1.333","anchor":"git-subcommand-detection-regex-tightened","canonical_anchor":"git-subcommand-detection-regex-tightened","heading":"Stricter matching of git subcommands in permission checks","tier":"notice","area":"Permissions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/git-subcommand-detection-regex-tightened","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Stricter matching of `git` subcommands in permission checks\n\nThe pattern Claude Code uses to spot which `git` subcommand a shell command runs has been tightened\n\n**Unclear.** Which `git` commands are now classified differently is not stated.\n\n**What**\n\nWhen deciding whether a shell command needs your permission, Claude Code works out which `git` subcommand it runs, even when options such as `-c name=value` come before it. The pattern that does this has been tightened so that repeated option groups no longer produce ambiguous matches.\n\n**Why**\n\nHow `git` commands are classified for permissions may differ slightly in edge cases.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}