summaryrefslogtreecommitdiffstats
path: root/git-send-email.perl
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-02-21 01:13:13 +0100
committerJunio C Hamano <gitster@pobox.com>2008-02-21 01:13:13 +0100
commit23f12912d1b6c608a7418d242e257b7239861f61 (patch)
tree1fc8a793688652e08f7b0a4b11b9a5bc2f3f9733 /git-send-email.perl
parentgit.el: Set process-environment instead of invoking env (diff)
parentClarified the meaning of git-add -u in the documentation (diff)
downloadgit-23f12912d1b6c608a7418d242e257b7239861f61.tar.xz
git-23f12912d1b6c608a7418d242e257b7239861f61.zip
Merge branch 'maint'
* maint: Clarified the meaning of git-add -u in the documentation git-clone.sh: properly configure remote even if remote's head is dangling Documentation/git-stash: document options for git stash list send-email: squelch warning due to comparing undefined $_ to ""
Diffstat (limited to 'git-send-email.perl')
-rwxr-xr-xgit-send-email.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-send-email.perl b/git-send-email.perl
index 59601e36e8..ccb87a2d55 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -475,7 +475,7 @@ if ($thread && !defined $initial_reply_to && $prompting) {
$initial_reply_to = $_;
}
-if (defined $initial_reply_to && $_ ne "") {
+if (defined $initial_reply_to) {
$initial_reply_to =~ s/^\s*<?/</;
$initial_reply_to =~ s/>?\s*$/>/;
}