Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2015-06-01 01:29:24 +0300
committerJunio C Hamano <gitster@pobox.com>2015-06-02 01:52:37 +0300
commit818a2d7722de03a16177e2323fa7b77624722e2a (patch)
treef7de321a88487ffcb133f5b8f7c95a91679068ad /git-send-email.perl
parent5c3494ed880b56eb2e487fd5504bc66674151bae (diff)
send-email: visually distinguish sendmail aliases parser warnings
Although emitted to stderr, warnings from the sendmail aliases parser are not visually distinguished as such, and thus can easily be overlooked in the normal noisy send-email output. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-send-email.perl')
-rwxr-xr-xgit-send-email.perl6
1 files changed, 3 insertions, 3 deletions
diff --git a/git-send-email.perl b/git-send-email.perl
index 6bedf745e7..819f87e8df 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -522,12 +522,12 @@ my %parse_alias = (
# warn on lines that contain quotes
elsif (/"/) {
- print STDERR "sendmail alias with quotes is not supported: $_\n";
+ print STDERR "warning: sendmail alias with quotes is not supported: $_\n";
}
# warn on lines that continue
elsif (/^\s|\\$/) {
- print STDERR "sendmail continuation line is not supported: $_\n";
+ print STDERR "warning: sendmail continuation line is not supported: $_\n";
}
# recognize lines that look like an alias
@@ -538,7 +538,7 @@ my %parse_alias = (
# warn on lines that are not recognized
else {
- print STDERR "sendmail line is not recognized: $_\n";
+ print STDERR "warning: sendmail line is not recognized: $_\n";
}}},
gnus => sub { my $fh = shift; while (<$fh>) {