Sanitize git_diff_format_email_options' summary parameter It will form part of the subject line and should thus be one line.