@ 201216.1

170603.1.2 · 33d9d711766cbf3c5d9b52aa471722522b231d94

Add test for invert ignore rules.

reading declarations

Changes to tests/ignore_invert.t. All files

tests/ignore_invert.t

new file mode 100644@@ -0,0 +1,12 @@+Setup:++  $ . $TESTDIR/setup.sh+  $ printf 'blah1\n' > ./printme.txt+  $ printf 'blah2\n' > ./dontprintme.c+  $ printf '*\n' > ./.ignore+  $ printf '!*.txt\n' >> ./.ignore++Ignore .gitignore patterns but not .ignore patterns:++  $ ag blah+  printme.txt:1:blah1