bbatsov / helm-projectile

Helm UI for Projectile
329 stars 71 forks source link

helm-projectile-ag ignores .hgignore #40

Open d9k opened 8 years ago

d9k commented 8 years ago

(moved from https://github.com/bbatsov/projectile/issues/1040)

Expected behavior

helm-projectile-ag must ignore files from .hgignore as helm-ag does (and as helm-projectile-find-file perfectly does too).

Actual behavior

It doesn't ignore files excluded at project .hgignore, too many false positive hits.

Steps to reproduce the problem

fragment of my .hgignore file:

regexp:^server/node_modules/.+
regexp:^\.idea
regexp:^\.\#

There would be false positive results from server/node_modules

Environment & Version information

ag 0.31.0 from official ubuntu repo

Projectile version information

version 20160728.52

Emacs version

spacemacs 0.105.21 (emacs 24.5.1)

Operating system

Kubuntu 16.04