{"action":"created","issue":{"url":"https://api.github.com/repos/ggreer/the_silver_searcher/issues/704","labels_url":"https://api.github.com/repos/ggreer/the_silver_searcher/issues/704/labels{/name}","comments_url":"https://api.github.com/repos/ggreer/the_silver_searcher/issues/704/comments","events_url":"https://api.github.com/repos/ggreer/the_silver_searcher/issues/704/events","html_url":"https://github.com/ggreer/the_silver_searcher/issues/704","id":91762856,"number":704,"title":"Some file is skipped during searches","user":{"login":"gkotian","id":1580240,"avatar_url":"https://avatars.githubusercontent.com/u/1580240?v=3","gravatar_id":"","url":"https://api.github.com/users/gkotian","html_url":"https://github.com/gkotian","followers_url":"https://api.github.com/users/gkotian/followers","following_url":"https://api.github.com/users/gkotian/following{/other_user}","gists_url":"https://api.github.com/users/gkotian/gists{/gist_id}","starred_url":"https://api.github.com/users/gkotian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkotian/subscriptions","organizations_url":"https://api.github.com/users/gkotian/orgs","repos_url":"https://api.github.com/users/gkotian/repos","events_url":"https://api.github.com/users/gkotian/events{/privacy}","received_events_url":"https://api.github.com/users/gkotian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-29T10:01:56Z","updated_at":"2015-06-30T09:54:12Z","closed_at":null,"body":"I have a really strange issue. I have a variable called `start_time` that is declared in a file called `Active.d` and used in a file called `Downloads.d`. But when I try to search for it with `ag -w start_time src`, it only shows the occurrence in `Active.d`. If I use `grep -rw start_time src`, then it shows me all occurrences as expected.\r\n\r\nI can't figure out why the `Downloads.d` file is skipped.\r\n\r\nUnfortunately I can't share the source code as they are my employer's proprietary software. I tried to reduce the test case further by copying only these two files into a temporary directory, but then `ag` did not skip the `Downloads.d` file and reported all occurrences.\r\n\r\nI'd appreciate any help on this, and would be happy to run other tests if needed."},"comment":{"url":"https://api.github.com/repos/ggreer/the_silver_searcher/issues/comments/117103427","html_url":"https://github.com/ggreer/the_silver_searcher/issues/704#issuecomment-117103427","issue_url":"https://api.github.com/repos/ggreer/the_silver_searcher/issues/704","id":117103427,"user":{"login":"serialdoom","id":6338625,"avatar_url":"https://avatars.githubusercontent.com/u/6338625?v=3","gravatar_id":"","url":"https://api.github.com/users/serialdoom","html_url":"https://github.com/serialdoom","followers_url":"https://api.github.com/users/serialdoom/followers","following_url":"https://api.github.com/users/serialdoom/following{/other_user}","gists_url":"https://api.github.com/users/serialdoom/gists{/gist_id}","starred_url":"https://api.github.com/users/serialdoom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serialdoom/subscriptions","organizations_url":"https://api.github.com/users/serialdoom/orgs","repos_url":"https://api.github.com/users/serialdoom/repos","events_url":"https://api.github.com/users/serialdoom/events{/privacy}","received_events_url":"https://api.github.com/users/serialdoom/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T09:54:12Z","updated_at":"2015-06-30T09:54:12Z","body":"Sorry, i totally missed the 7 times you mentioned that those `.d` things were files and assumed dirs. I'll blame the lack of coffee :\\"}}