Support revisions with "extra headers" not at the end
I have not seen any, but it might be possible for some git commits to have headers before "author" and "committer". If the issue arises, we should deal with them.
Migrated from T3598 (view on Phabricator)