In GitHub's documentation on linguist
, the section on using the .gitattributes
file says a path can be marked as vendored, and thus ignored in the repository's statistics tracking, with:
special-vendored-path/* linguist-vendored
However, is it possible to have linguist mark directories as vendored that may be nested in directories containing non-vendored code?
I tried adding a line styled as */special-vendored-path/* linguist-vendored
to my .gitattributes
, but that didn't cause the GitHub code-proportion information to change.