author | Junio C Hamano <junkio@cox.net> | |
Thu, 19 Oct 2006 05:09:00 +0000 (22:09 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 19 Oct 2006 05:09:00 +0000 (22:09 -0700) |
* jc/send-email:
Make git-send-email detect mbox-style patches more readily
git-send-email: real name with period need to be dq-quoted on From: line
git-send-email: do not drop custom headers the user prepared
Make git-send-email detect mbox-style patches more readily
git-send-email: real name with period need to be dq-quoted on From: line
git-send-email: do not drop custom headers the user prepared
1 | 2 | |||
---|---|---|---|---|
git-send-email.perl | patch | | diff1 | | diff2 | | blob | history |
diff --cc git-send-email.perl
index 04c89422523a9272bd1ba9c3020cb12db0018cfa,eb91270898fe3e961cea626e5e43be85a08ba51d..b17d2619875112215465c7399fa30e592ed71b01
--- 1/git-send-email.perl
--- 2/git-send-email.perl
+++ b/git-send-email.perl
$header .= "In-Reply-To: $reply_to\n";
$header .= "References: $references\n";
}
+ if (@xh) {
+ $header .= join("\n", @xh) . "\n";
+ }
- if ($smtp_server =~ m#^/#) {
+ if ($dry_run) {
+ # We don't want to send the email.
+ } elsif ($smtp_server =~ m#^/#) {
my $pid = open my $sm, '|-';
defined $pid or die $!;
if (!$pid) {