I don't know if this is by design or due to the other open issues regarding --ignore, but I feel like the default should be that --ignore options should trump all other options.
For example:
ag -g '.*' --all-text --hidden --ignore '.git'
should print the filenames of ALL text files except any under ./**/*.git/.
Right now --all-text trumps --ignore and prints out all the files under ./**/*.git/.
I don't know if this is by design or due to the other open issues regarding
--ignore
, but I feel like the default should be that--ignore
options should trump all other options.For example:
should print the filenames of ALL text files except any under
./**/*.git/
.Right now
--all-text
trumps--ignore
and prints out all the files under./**/*.git/
.