commit | 08578fa13eeec7079101f7ac52208aec83d54c62 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <gitster@pobox.com> | Wed Jul 17 15:09:34 2013 -0700 |
committer | Junio C Hamano <gitster@pobox.com> | Wed Jul 17 15:09:34 2013 -0700 |
tree | 65dad62dfa337859f2e6cf12a74e213ea70a9775 | |
parent | 949226fe77beb1027bd5ac7be56fe002236d6cad [diff] |
diff: factor out match_filter() diffcore_apply_filter() checks if a filepair matches the filter given with the "--diff-filter" option for each input filepairs with a fairly complex expression in two places. Create a helper function and call it. Signed-off-by: Junio C Hamano <gitster@pobox.com>