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.277 ·

linguist-generated file check now supports explicit git-dir/work-tree (worktree awareness)

The check for git-generated files now works correctly across separate git worktrees

Under the hood Internal Changes
JSON All of v2.1.277
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Git InternalsArea: what it touches
Internal ChangesKind: in v2.1.277,
Internal ChangesSection of the release
What

Claude Code checks whether a file is marked as "linguist-generated" in git (a marker used to decide whether to treat a file as auto-generated, for example skipping it in diffs). This check now accepts an explicit git directory and working tree path, passing them to the underlying git check-attr command when given, and caches results separately per git directory.

Why

This makes the generated-file check work correctly when Claude Code is operating on a git worktree other than the main one, since it no longer has to rely on the current working directory being the right one.

See this entry in the whole of v2.1.277 →

Feedback