{"action":"opened","issue":{"url":"https://api.github.com/repos/github/linguist/issues/4122","repository_url":"https://api.github.com/repos/github/linguist","labels_url":"https://api.github.com/repos/github/linguist/issues/4122/labels{/name}","comments_url":"https://api.github.com/repos/github/linguist/issues/4122/comments","events_url":"https://api.github.com/repos/github/linguist/issues/4122/events","html_url":"https://github.com/github/linguist/issues/4122","id":320233478,"number":4122,"title":"Linguist-vendored can't suppress files in paths with spaces","user":{"login":"Peter-Simpson","id":38855929,"avatar_url":"https://avatars3.githubusercontent.com/u/38855929?v=4","gravatar_id":"","url":"https://api.github.com/users/Peter-Simpson","html_url":"https://github.com/Peter-Simpson","followers_url":"https://api.github.com/users/Peter-Simpson/followers","following_url":"https://api.github.com/users/Peter-Simpson/following{/other_user}","gists_url":"https://api.github.com/users/Peter-Simpson/gists{/gist_id}","starred_url":"https://api.github.com/users/Peter-Simpson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Peter-Simpson/subscriptions","organizations_url":"https://api.github.com/users/Peter-Simpson/orgs","repos_url":"https://api.github.com/users/Peter-Simpson/repos","events_url":"https://api.github.com/users/Peter-Simpson/events{/privacy}","received_events_url":"https://api.github.com/users/Peter-Simpson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-04T10:59:46Z","updated_at":"2018-05-04T10:59:46Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI'm trying to suppress recognition of some .c and .h files in a committed directory from a Windows machine that contains spaces in its name: \"SOFA/Release Zip Files\"\r\n\r\nI've tried both these variants in the .gitattributes file:\r\nSOFA/Release[[:space:]]Zip[[:space:]]Files/** linguist-vendored\r\nSOFA/Release Zip Files/** linguist-vendored\r\n\r\n but the files are still recognised by Linguist in the list of C files.\r\n\r\nPlease can you advise correct syntax or approach?\r\n\r\nThanks, Peter\r\n\r\n## Preliminary Steps\r\n\r\nPlease confirm you have...\r\n- [Yes] reviewed [How Linguist Works](https://github.com/github/linguist#how-linguist-works),\r\n- [Yes] reviewed the [Troubleshooting](https://github.com/github/linguist#troubleshooting) docs,\r\n- [Yes] considered implementing an [override](https://github.com/github/linguist#overrides),\r\n- [Yes] verified an issue has not already been logged for your issue ([linguist issues](https://github.com/issues?utf8=%E2%9C%93&q=is%3Aissue+repo%3Agithub/linguist)).\r\n\r\n## Problem Description\r\n\r\nAs above, probably not a bug but I've tried the answers I've found through Googling the issue and they haven't worked. The files in question can be seen on page 57 of the list of C files in the ASCOMPlatform reporsitory.\r\n\r\n### URL of the affected repository:\r\nhttps://github.com/ASCOMInitiative/ASCOMPlatform\r\n\r\n### Last modified on:\r\n2018-05-04\r\n\r\n### Expected language:\r\nFiles should be ignored\r\n\r\n### Detected language:\r\nC\r\n"}}
{"actor":{"display_login":"Peter-Simpson"}}