Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 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

You'll notice Improvements
JSON All of v2.1.281
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Bash SafetyArea: what it touches
ImprovementsKind: in v2.1.281,
ImprovementsSection 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