Re:Show HN: Tag – instantly jump to your ag matches
by RasmusWL on Monday June 13, 2016 @07:14AM
(#11892894)
ag has issues with .gitignore, as patterns are not recognized properly. The matcher that git uses cannot be included due to licensing (see https://github.com/ggreer/the_silver_searcher/pull/614).
Does seem like there is hope, as a BSD licensed version exists. My fingers are crossed that this is solved soon :)
Re:Show HN: Tag – instantly jump to your ag matches
by pmontra on Monday June 13, 2016 @09:34AM
(#11893694)
ag uses .agignore
I often need to search only on a subset of the files checked in git. Example, I don't search the min.js files but I need them for the deploys.
It would be nice if they could share the same format.
Re:Show HN: Tag – instantly jump to your ag matches
by gitaarik on Monday June 13, 2016 @08:47AM
(#11893251)
inside a git repository I would recommend using `git grep`
The progression is grep with a ton of flags (or even find | xargs grep) -> ack -> ag.
ag is faster than ack, automatically understands .gitignore, gives you .agignore as well, and is just a really nice piece of software.