Vendored files suddenly being included in statistics (no changes on my end) #5329
-
Repo: https://github.com/malwaredllc/byob This has always been a Python project, and suddenly today it is showing as JavaScript despite no changes on my end. Did something change with the linguist project? Is there a change I need to make in my .gitattributes files? Anyone know how to fix this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is the second time this has come up this week. Nothing has changed in Linguist that would cause this so I've dug into it and I've found that we've recently updated the version of the rugged gem to a much newer version that has pulled in fixes from libgit2 that has fixed the old incorrect behaviour bringing GitHub's behaviour inline with git's. I think libgit2/libgit2#5110 is the specific PR. As with the first case in #5323, your override isn't quite right as it's not recursive so it shouldn't have worked correctly in the past. It certainly wouldn't work directly with git in the command line. #5175 (comment) and #5308 (comment) provide more info on testing the overrides directly with git which GitHub should now match. |
Beta Was this translation helpful? Give feedback.
This is the second time this has come up this week. Nothing has changed in Linguist that would cause this so I've dug into it and I've found that we've recently updated the version of the rugged gem to a much newer version that has pulled in fixes from libgit2 that has fixed the old incorrect behaviour bringing GitHub's behaviour inline with git's. I think libgit2/libgit2#5110 is the specific PR.
As with the first case in #5323, your override isn't quite right as it's not recursive so it shouldn't have worked correctly in the past. It certainly wouldn't work directly with git in the command line.
#5175 (comment) and #5308 (comment) provide more info on testing the overrides directly with …