parse.c
14.5 KB
-
Add skipping of unknown commit headers · 291090a0
This moves the check for the "encoding" header into a loop which is just scanning for non-required headers at the end of a commit header. That loop will skip unrecognized lines (including header continuation lines) until a terminating completely blank line is found, and only then does it move to reading the commit message.
Russell Belfer committed