| 118 | } |
| 119 | |
| 120 | static int has_changes(mmfile_t *one, mmfile_t *two, |
| 121 | struct diff_options *o UNUSED, |
| 122 | regex_t *regexp, kwset_t kws) |
| 123 | { |
| 124 | unsigned int c1 = one ? contains(one, regexp, kws, 0) : 0; |
| 125 | unsigned int c2 = two ? contains(two, regexp, kws, c1 + 1) : 0; |
| 126 | return c1 != c2; |
| 127 | } |
| 128 | |
| 129 | static int pickaxe_match(struct diff_filepair *p, struct diff_options *o, |
| 130 | regex_t *regexp, kwset_t kws, pickaxe_fn fn) |
nothing calls this directly
no test coverage detected