Ignoring a directory with ack.ackrc

I'm not sure what it's for, but the code I'm working on contains a bunch of folders called "save.d", it looks like they are used for some kind of version control (we also have. Svn).

How to update .ackrc file to ignore these default directories?

Currently my .ackrc

--type-set=inc=.inc --ignore-dir=pear --type-set=tpl=.tpl 

The structure of our folder may look like this:

 program/parsers/save.d program/modules/save.d 
+64
ack
Sep 20 2018-11-17T00:
source share
1 answer

Adding another line --ignore-dir=save.d did the trick

+84
Sep 21 '11 at 16:01
source share



All Articles