Refactored show_commit_extra_headers().