@arfon doesn't admit that there's a bug, rather he says that "requiring a unique primary_extension isn't really a 'bug', rather it's a consequence of how language detection works in Linguist."
The work to fix the design issue was already done by @nox, who submitted a pull request which is still open: https://github.com/github/linguist/pull/985
I guess the charitable reading is "this isn't a bug, it's more of a bad design choice, and we can't just fix it overnight".
But I honestly can't tell if that's what he meant, or if it was more of a "not my problem" type of response.
Re:GitHub's language detection is broken
by Allan_Smithee on Friday March 14, 2014 @09:16AM
(#7398485)
Except that it was totally fixed overnight. No, wait. Not overnight. Over two hours.
Of course that PR isn't being accepted either.
The alternative is to fix the design issue. But that's going to be a lot harder and require more than a few days.