{"version":"2.1.281","anchor":"git-format-pretty-sort-validation-extended-to-group","canonical_anchor":"git-format-pretty-sort-validation-extended-to-group","heading":"git --format\/--pretty\/--sort validation extended to --group and to tilde expansion","tier":null,"area":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/git-format-pretty-sort-validation-extended-to-group","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### git --format\/--pretty\/--sort validation extended to --group and to tilde expansion\n\nGit read-only checks now also inspect `--group` values and reject values with tilde expansions\n\n**What**\n\nClaude Code checks the values of some `git` options before treating a git command as read-only. That check changed in three ways:\n\n- `--group` is now checked along with `--format`, `--pretty` and `--sort`\n\n- Every checked value is now tested for `~` after `=` or `:`, or `~` together with `{`\n\n- An extra check on format placeholders now runs only on `--format` and `--pretty`\n\nIn a shell, `~` can expand into a home directory path.\n\n**Why**\n\nGit commands that use `--group`, or carry a tilde in these option values, are less likely to be treated as safe without a prompt."}