Linguist is including files with linguist-vendored attribute in language statistics #5573
-
[I've asked this on StackOverflow but have yet to receive an answer] I have a github repository that is predominately C++ but has lots of vendor-generated C code (drivers for a microcontroller) that is completely throwing off the language statistics. I have read this page and I have created a
I have also tried changing the
and it still doesn't ignore the files inside. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
SO isn't really the best place to ask questions about Linguist 😁 however I've responded there and will duplicate my response here: I suspect you may be using an old version of Linguist and/or rugged (which is what does the checking of the gitattributes); possibly the versions shipped with your OS as I can't reproduce your behaviour using the latest version which GitHub is using:
|
Beta Was this translation helpful? Give feedback.
SO isn't really the best place to ask questions about Linguist 😁 however I've responded there and will duplicate my response here:
I suspect you may be using an old version of Linguist and/or rugged (which is what does the checking of the gitattributes); possibly the versions shipped with your OS as I can't reproduce your behaviour using the latest version which GitHub is using: