summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7c33d3a)
raw | patch | inline | side by side (parent: 7c33d3a)
author | Jay Soffian <jaysoffian@gmail.com> | |
Wed, 20 Feb 2008 05:55:07 +0000 (00:55 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 20 Feb 2008 10:47:54 +0000 (02:47 -0800) |
The check to see if initial_reply_to is defined was also comparing $_ to
"" for a reason I cannot ascertain (looking at the commit which made the
change didn't provide enlightenment), but if $_ is undefined, perl
generates a warning.
Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
"" for a reason I cannot ascertain (looking at the commit which made the
change didn't provide enlightenment), but if $_ is undefined, perl
generates a warning.
Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl | patch | blob | history |
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
$initial_reply_to = $_;
}
-if (defined $initial_reply_to && $_ ne "") {
+if (defined $initial_reply_to) {
$initial_reply_to =~ s/^\s*<?/</;
$initial_reply_to =~ s/>?\s*$/>/;
}