{"action":"closed","issue":{"url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/50","repository_url":"https://api.github.com/repos/BurntSushi/ripgrep","labels_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/50/comments","events_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/50/events","html_url":"https://github.com/BurntSushi/ripgrep/issues/50","id":179010344,"number":50,"title":".rgignore glob?","user":{"login":"kaushalmodi","id":3578197,"avatar_url":"https://avatars.githubusercontent.com/u/3578197?v=3","gravatar_id":"","url":"https://api.github.com/users/kaushalmodi","html_url":"https://github.com/kaushalmodi","followers_url":"https://api.github.com/users/kaushalmodi/followers","following_url":"https://api.github.com/users/kaushalmodi/following{/other_user}","gists_url":"https://api.github.com/users/kaushalmodi/gists{/gist_id}","starred_url":"https://api.github.com/users/kaushalmodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaushalmodi/subscriptions","organizations_url":"https://api.github.com/users/kaushalmodi/orgs","repos_url":"https://api.github.com/users/kaushalmodi/repos","events_url":"https://api.github.com/users/kaushalmodi/events{/privacy}","received_events_url":"https://api.github.com/users/kaushalmodi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-24T04:37:14Z","updated_at":"2016-09-24T20:25:07Z","closed_at":"2016-09-24T20:25:07Z","body":"I am trying to figure out how to ignore a particular dir name (that dir name could occur multiple times in the search path) using `.rgignore`.\r\n\r\nLet's say I have the `.rgignore` as `/proj/SOMEPRJ/.rgignore`, and I have these directories\r\n\r\n- `/proj/SOMEPRJ/abc/def/XYZ/`\r\n- `/proj/SOMEPRJ/ghi//XYZ/`\r\n\r\nWhat do I put in `/proj/SOMEPRJ/.rgignore` to ignore both the `XYZ/` dirs?\r\n\r\nFor `ag`, I can simply put `XYZ` in the `.agignore` and be done with it. But the same does not work here.\r\n\r\n`*XYZ` also does not work.\r\n\r\nFor now I need to put in the full paths to `XYZ/` (both) in the `.rgignore`.\r\n\r\nWhat is the right way?"}}
{"actor":{"display_login":"BurntSushi"}}