MCPcopy Create free account
hub / github.com/git/git / handle_filter

Function handle_filter

mailinfo.c:856–868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

854}
855
856static 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
870static int is_rfc2822_header(const struct strbuf *line)
871{

Callers 3

handle_boundaryFunction · 0.70
handle_filter_flowedFunction · 0.70
handle_bodyFunction · 0.70

Calls 2

handle_commit_msgFunction · 0.70
handle_patchFunction · 0.70

Tested by

no test coverage detected