It highlights sendmail command and subject lines. The most important lines to me. I'm no Perl expert. This patch is by no means for submission. But maybe it'll motivate someone to do a proper patch. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx> --- git-send-email.perl | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/git-send-email.perl b/git-send-email.perl index ef30c55..033ca5e 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -1157,9 +1157,13 @@ X-Mailer: git-send-email $gitversion print "RCPT TO:<$entry>\n"; } } else { + print color 'yellow'; print "Sendmail: $smtp_server ".join(' ',@sendmail_parameters)."\n"; + print color 'reset'; } - print $header, "\n"; + my $colored_header = $header; + $colored_header =~ s/^(Subject: .*)/color("bold").$1.color("reset")/em; + print $colored_header, "\n"; if ($smtp) { print "Result: ", $smtp->code, ' ', ($smtp->message =~ /\n([^\n]+\n)$/s), "\n"; -- 1.7.8.36.g69ee2 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html