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-attrprocess for every file. It now asks about all files at once with a singlegit check-attr -z --stdin linguist-generatedcall. - Deleted files and line counts now come from
git diff --name-onlyandgit 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.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is unclear what a user sees when one of these git errors is raised.