bbatsov/projectile — pull request #415 by insane (2014-08-16 03:20:58+00:00)
Title: Make ag search respect ignored patterns.

@bbatsov

Make `projectile-ag` ignore patterns from `.projectile` when performing search. The only drawback that I'm aware of is that it's not possible to specify to ignore files only in a direct subtree of the root of the project. E.g. given the following directory structure:

```
root
|- foo
|- test.txt
|- bar
|- baz
|- foo
|- test.txt
```

There's no `ag --ignore` syntax that would allow you to ignore just the top level `foo/test.txt` file. It will always exclude `baz/foo/test.txt` too.

I've tested this by playing w/ `.projectile` file and confirmed that it correctly ignores the patterns specified.