{"action":"created","issue":{"url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/373","repository_url":"https://api.github.com/repos/BurntSushi/ripgrep","labels_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/373/labels{/name}","comments_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/373/comments","events_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/373/events","html_url":"https://github.com/BurntSushi/ripgrep/issues/373","id":209251002,"number":373,"title":"./.gitignore: line 2: invalid use of **; must be one path component","user":{"login":"azhang","id":940275,"avatar_url":"https://avatars3.githubusercontent.com/u/940275?v=3","gravatar_id":"","url":"https://api.github.com/users/azhang","html_url":"https://github.com/azhang","followers_url":"https://api.github.com/users/azhang/followers","following_url":"https://api.github.com/users/azhang/following{/other_user}","gists_url":"https://api.github.com/users/azhang/gists{/gist_id}","starred_url":"https://api.github.com/users/azhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azhang/subscriptions","organizations_url":"https://api.github.com/users/azhang/orgs","repos_url":"https://api.github.com/users/azhang/repos","events_url":"https://api.github.com/users/azhang/events{/privacy}","received_events_url":"https://api.github.com/users/azhang/received_events","type":"User","site_admin":false},"labels":[{"id":339721683,"url":"https://api.github.com/repos/BurntSushi/ripgrep/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2017-02-21T19:39:48Z","updated_at":"2017-06-07T10:57:45Z","closed_at":"2017-05-08T22:33:22Z","body":"`**/something` is valid .gitignore syntax, but rg prints an error\r\n\r\n\r\n> A leading \"\\*\\*\" followed by a slash means match in all directories. For example, \"\\*\\*/foo\" matches file or directory \"foo\" anywhere, the same as pattern \"foo\". \"\\*\\*/foo/bar\" matches file or directory \"bar\" anywhere that is directly under directory \"foo\". (https://git-scm.com/docs/gitignore)"},"comment":{"url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/comments/306761244","html_url":"https://github.com/BurntSushi/ripgrep/issues/373#issuecomment-306761244","issue_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/373","id":306761244,"user":{"login":"BurntSushi","id":456674,"avatar_url":"https://avatars0.githubusercontent.com/u/456674?v=3","gravatar_id":"","url":"https://api.github.com/users/BurntSushi","html_url":"https://github.com/BurntSushi","followers_url":"https://api.github.com/users/BurntSushi/followers","following_url":"https://api.github.com/users/BurntSushi/following{/other_user}","gists_url":"https://api.github.com/users/BurntSushi/gists{/gist_id}","starred_url":"https://api.github.com/users/BurntSushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BurntSushi/subscriptions","organizations_url":"https://api.github.com/users/BurntSushi/orgs","repos_url":"https://api.github.com/users/BurntSushi/repos","events_url":"https://api.github.com/users/BurntSushi/events{/privacy}","received_events_url":"https://api.github.com/users/BurntSushi/received_events","type":"User","site_admin":false},"created_at":"2017-06-07T10:57:44Z","updated_at":"2017-06-07T10:57:44Z","body":"> I think it does no harm to rg.\r\n\r\nYou can basically say that about any particular flag. But if I add `--ignore-2asterisks-error`---which is incredibly specific---then what's to stop a deluge of other similar flags like `--ignore-file-permission-error`?\r\n\r\n@Yggdroot Could you please say more about why the `--no-messages` flag isn't sufficient for your use case?"}}
{"actor":{"display_login":"BurntSushi"}}