We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
If my .agignore file contains:
.agignore
*.htm
And if I have two files a.htm and a.b.htm, the latter is not ignored by .agignore.
a.htm
a.b.htm
Here's an example:
$ echo "needle" > haystack.htm $ echo "needle" > haystack.a.htm $ echo "*.htm" > .agignore $ ag needle haystack.a.htm 1:needle
I found out that using **.htm works in this case, but if this is intentional, it is very uninituitive, especially since it does not follow .gitignore syntax. I'd recommend in this case mentioning this explicitly in https://github.com/ggreer/the_silver_searcher/wiki/Advanced-Usage, which says that:
**.htm
.gitignore
.agignore uses the same patterns as .gitignore and .hgignore.