Follow Discord
Sweep 04 Dec 2026 · 17:52Z Build v2.1.337 554 read Stable v2.1.332 Latest v2.1.337 Next v2.1.337 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.337 ·

Claude Code now checks git's error before calling a file untracked

Claude Code now calls a file untracked only when git's error is about the file path, and uses another check otherwise

You'll notice Bug Fixes
JSON All of v2.1.337
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
Bug FixesKind: in v2.1.337,
Bug FixesSection of the release

Unclear It is not clear what the separate check decides when git returns a different error.

What

Claude Code sometimes asks git whether a file is untracked, meaning git is not keeping a history of it. Before, any "no" answer from git counted as untracked.

Now a file counts as untracked only when git's error message starts with error: pathspec, which is git's complaint about a file path. Any other error goes to a separate check. If git cannot be started at all, that separate check is also used instead of a fixed answer.

Why

It is a small change to how Claude Code decides which files git is tracking.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear what the separate check decides when git returns a different error.

See this entry in the whole of v2.1.337 →

Feedback