Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.282 ·

Git attribute lookups can now ignore personal and system attribute files

Claude Code's git attribute check can now read only committed .gitattributes files, ignoring your personal and system-wide attribute settings

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

Git lets a project label files with attributes, for example marking some files as generated, using files named .gitattributes. Claude Code asks git for these labels with the git check-attr command.

That lookup previously always read attributes from the files on disk in your working folder, using your normal git settings. It can now also run in a mode that uses only the committed .gitattributes files. In that mode it:

  • passes --cached, so git reads the committed version rather than the working folder
  • passes -c core.attributesFile=/dev/null, so your personal attributes file is ignored
  • sets GIT_ATTR_NOSYSTEM=1, so the system-wide attributes file is ignored

The default mode still reads from the working folder as before.

Why

When Claude Code uses the new mode, the answer depends only on what the project has committed. Your own or your machine's git attribute settings cannot change which files an attribute applies to.

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 doubtWhich parts of Claude Code use the new committed-only mode is not stated.

See this entry in the whole of v2.1.282 →

Feedback