diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2017-05-20 21:42:15 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-21 08:25:37 +0900 |
commit | 77f6f4406fef43130e9c72e32ac5e30c5bbe0b9e (patch) | |
tree | c0546304c0feabd360e4990366e44e678dac5677 /parse-options.h | |
parent | 5ee6f1a21b60be8a7c7d24ad6aa60939ca5efbda (diff) | |
download | git-77f6f4406fef43130e9c72e32ac5e30c5bbe0b9e.tar.gz |
grep: add a test helper function for less verbose -f \0 tests
Add a helper function to make the tests which check for patterns with
\0 in them more succinct. Right now this isn't a big win, but
subsequent commits will add a lot more of these tests.
The helper is based on the match() function in t3070-wildmatch.sh.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'parse-options.h')
0 files changed, 0 insertions, 0 deletions