beyondgrep / ack2

**ack 2 is no longer being maintained. ack 3 is the latest version.**
https://github.com/beyondgrep/ack3/
Other
1.48k stars 140 forks source link

Allow --ignore-dir to work on relative paths #330

Closed hoelzro closed 7 years ago

hoelzro commented 11 years ago

See also https://github.com/petdance/ack/issues/216.

hoelzro commented 11 years ago

This one gave rise to a fairly lengthy discussion, and we could probably pull it off without too much difficulty.

petdance commented 11 years ago

I'd like to see a spelling out of the rules for how relative paths work. Relative to what? Also, don't forget that -g matches against strings, not filenames or directory names.

hoelzro commented 11 years ago

Good point. Relative paths get tricky, especially when in an ackrc file. Consistency between -g and --ignore-dir is also a plus. Maybe this feature will make it in if we decide to implement #336.

petdance commented 7 years ago

Moved to https://github.com/petdance/ack3/issues/7