Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

git --format/--pretty/--sort validation extended to --group and to tilde expansion

Git read-only checks now also inspect --group values and reject values with tilde expansions

Entry
JSON All of v2.1.281
EntryKind: in v2.1.281,
ChangesSection of the release
What

Claude Code checks the values of some git options before treating a git command as read-only. That check changed in three ways:

  • --group is now checked along with --format, --pretty and --sort
  • Every checked value is now tested for ~ after = or :, or ~ together with {
  • An extra check on format placeholders now runs only on --format and --pretty

In a shell, ~ can expand into a home directory path.

Why

Git commands that use --group, or carry a tilde in these option values, are less likely to be treated as safe without a prompt.

See this entry in the whole of v2.1.281 →

Feedback