gitweb: Split git_patchset_body into separate subroutines