.gitattributes: fix path to vendor folder
What changed, and why it matters
This commit corrects a folder path in a Git configuration file. It tells GitHub's language statistics tool that vendored (third-party) code in the 'external/vendor' directory should be marked as automatically generated. There is no security relevance.
No security action needed. This is a repository metadata fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change updates .gitattributes to point the linguist-generated attribute to the correct vendor directory path (‘external/vendor’ instead of ‘src/rust/vendor’). This only affects how GitHub classifies code for repository language statistics and diff display. It does not alter compiled firmware, build behavior, or runtime security.
Changed components
.gitattributesInspect captured patch +1 / −1
diff --git a/.gitattributes b/.gitattributes
index c3b959b..ce1d6cd 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,2 +1,2 @@
/py/bitbox02/bitbox02/generated/* linguist-generated=true
-/src/rust/vendor/** linguist-generated=true
+/external/vendor/** linguist-generated=true
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.