Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
send-email: squelch warning due to comparing undefined $_ to ""
[gitweb.git]
/
git-send-email.perl
diff --git
a/git-send-email.perl
b/git-send-email.perl
index a1a9d14b00d01844509a87c598314e2ffbbfa47c..8e6f3b22c83d25a46069c48c13a0eebbd2196ec2 100755
(executable)
--- a/
git-send-email.perl
+++ b/
git-send-email.perl
@@
-406,7
+406,7
@@
sub expand_aliases {
$initial_reply_to = $_;
}
-if (defined $initial_reply_to
&& $_ ne ""
) {
+if (defined $initial_reply_to) {
$initial_reply_to =~ s/^\s*<?/</;
$initial_reply_to =~ s/>?\s*$/>/;
}