A .gitattributes file is a file in a git repository that attaches settings to file paths. One of those settings is a filter, which is a program git runs on a file's contents when it is saved or checked out. Claude Code has a check that reads this file and flags files that a filter touches.
When the check flags a file, it now also says what kind of line caused it:
by: "macro_or_quoted"means the match came from a macro, which is a named shortcut for several settings, or from a line that uses quoted paths.by: "rule"means the match came from an ordinary path rule.
The check also now skips comment lines before it looks at anything else.
Each flagged file now carries a reason, so it is possible to tell which kind of .gitattributes line pulled it in. Skipping comments first means text inside a comment is not treated as a real rule.
The finding does not say whether the new reason is ever shown to the user or only kept internally.