summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d366c70)
raw | patch | inline | side by side (parent: d366c70)
author | Ryan Anderson <ryan@michonline.com> | |
Thu, 2 Feb 2006 16:56:06 +0000 (11:56 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 3 Feb 2006 01:52:51 +0000 (17:52 -0800) |
Signed-off-by: Ryan Anderson <ryan@michonline.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-send-email.perl | patch | blob | history |
diff --git a/git-send-email.perl b/git-send-email.perl
index 51b7513b5ad4d2a4327f81bd22fb5f674b3a663d..2977b9adebff3180f156327622a9a11067e01696 100755 (executable)
--- a/git-send-email.perl
+++ b/git-send-email.perl
my (@to,@cc,$initial_reply_to,$initial_subject,@files,$from,$compose);
# Behavior modification variables
-my ($chain_reply_to, $smtp_server) = (1, "localhost");
+my ($chain_reply_to, $smtp_server, $quiet) = (1, "localhost", 0);
# Example reply to:
#$initial_reply_to = ''; #<20050203173208.GA23964@foobar.com>';
"chain-reply-to!" => \$chain_reply_to,
"smtp-server=s" => \$smtp_server,
"compose" => \$compose,
+ "quiet" => \$quiet,
);
# Now, let's fill any that aren't set in with defaults:
sendmail(%mail) or die $Mail::Sendmail::error;
- print "OK. Log says:\n", $Mail::Sendmail::log;
- print "\n\n"
+ unless ($quiet) {
+ print "OK. Log says:\n", $Mail::Sendmail::log;
+ print "\n\n"
+ }
}