commit - 328e791598d3c671e2bd13164515d8748f9aaf27
commit + 874e7af5fb7b5ffc6981d53624c40c9c12b49ae8
blob - 36c5cdb9eee74c010f5071e674d032e0227a1792
blob + 764be1131ded6ef14135e9759dcd48b120823aae
--- parser_textpatch.c
+++ parser_textpatch.c
case '@':
l->type = LINE_PATCH_HUNK_HDR;
break;
+ case ' ':
+ /* context lines */
+ break;
+ default:
+ /*
+ * A single patch file can have more
+ * than one "header" if touches more
+ * than one file.
+ */
+ l->type = LINE_PATCH_HDR;
+ p->flags |= PARSER_IN_PATCH_HDR;
+ break;
}
if (has_prefix(l->line, "+++"))