Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.309 ·

Some git commands now keep your own language settings

A new userLocale option lets git status, worktree lookups and a few other git calls run in your own locale instead of a forced one

Group of 2 You'll notice Improvements
JSON All of v2.1.309
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
GitArea: what it touches
ImprovementsKind: in v2.1.309,
ImprovementsSection of the release

What

Claude Code runs git in the background for many jobs. It builds a set of environment variables for each of these runs, and that set normally forces a fixed locale. A locale is the language and regional format a program uses for its messages. The builder now takes a userLocale option. When the option is not given, the fixed locale is still forced. When it is set (userLocale: !0), git keeps your own locale.

The git calls that now set it include:

  • git status (including status --porcelain)
  • the rev-parse call that finds the base of a worktree (a worktree is an extra checkout of the same repository in another folder)
  • a git call made when changes are not staged
  • one further git call

The same environment builder now also sets GIT_NO_REPLACE_OBJECTS: "1".

Why

Output from these git commands may now appear in your own language rather than the fixed one. If you read or rely on that output, expect its wording to follow your system's locale.

See this entry in the whole of v2.1.309 →

Feedback