| 854 | } |
| 855 | |
| 856 | static void handle_filter(struct mailinfo *mi, struct strbuf *line) |
| 857 | { |
| 858 | switch (mi->filter_stage) { |
| 859 | case 0: |
| 860 | if (!handle_commit_msg(mi, line)) |
| 861 | break; |
| 862 | mi->filter_stage++; |
| 863 | /* fallthrough */ |
| 864 | case 1: |
| 865 | handle_patch(mi, line); |
| 866 | break; |
| 867 | } |
| 868 | } |
| 869 | |
| 870 | static int is_rfc2822_header(const struct strbuf *line) |
| 871 | { |
no test coverage detected