Follow Discord
Sweep 01 Oct 2026 · 17:27Z Build v2.1.287 508 read Stable v2.1.285 Latest v2.1.287 Next v2.1.287 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.286 ·

Generated-file checks for attribution run as one git call and report git errors

Claude Code now checks all changed files for the generated-file marker in one git call and no longer silently ignores git failures during attribution

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

Claude Code works out how much of a change it contributed, which is called attribution. Part of that is leaving out generated files, which a repository marks with git's linguist-generated attribute.

  • Generated-file detection used to start a separate git check-attr process for every file. It now asks about all files at once with a single git check-attr -z --stdin linguist-generated call.
  • Deleted files and line counts now come from git diff --name-only and git diff --numstat.
  • When one of these git commands fails, Claude Code now raises an error. It used to ignore the failure quietly.
Why

On changes that touch many files, attribution needs far fewer git processes, so it should finish faster. Git problems that used to go unnoticed now come to the surface.

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 unclear what a user sees when one of these git errors is raised.

See this entry in the whole of v2.1.286 →

Feedback