My PostDredge repository is written in C# but linguist says it's Prolog. I thought waiting for a few days will correct the issue but it's been almost a month.
C# but linguist says it's Prolog
Not quite. Linguist is saying Prolog is the predominant language based on bytes of code 馃槈, and it is because you have three heeeeawg Prolog files in your repo:
You'll need to implement an override if you don't want these files to count as they are being correctly identified.
@lildude I don't think those are Prolog files.
@gojanpaolo You'll want to mark those files as vendored to ignore them in statistics.
I guessed they were based on the .pro extension. I didn't even try examining the content as their size wouldn't render on GitHub anyway 馃榿
Ahh! It never occurred to me that it was cause by the test files. Thanks for pointing that out. :) I'll try to override those and close this issue once it's fixed. :)
predominant language based on bytes of code
Should that be included in the How Linguist Works documentation? My initial thought was that it was based on the number of files.
Should that be included in the How Linguist Works documentation? My initial thought was that it was based on the number of files.
It already is. The very last sentence before the pretty picture:
The percentages are calculated based on the bytes of code for each language as reported by the List Languages API.
Issue fixed! Thank you @lildude @pchaigno
Most helpful comment
Issue fixed! Thank you @lildude @pchaigno