ggreer/the_silver_searcher — pull request #48 by cabello (2012-07-15 16:17:07+00:00)
Title: First attempt to close issue #43

Hi,

I am using **ag** during development and this issue about not ignoring the files correctly is obfuscating my output. Since ag is really **faster** than ack and grep I tried to fix the issue. :D

Is not perfect yet but it helps a lot, with this commit you can put in *.agignore* paths like:

./tests/unit/coverage

or

./tests/unit/coverage/*

And it will ignore the directories and files that matches the regex, for the moment you need the `./` prefix in pattern.