summaryrefslogtreecommitdiff
path: root/git-send-email.perl
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-02-20 16:13:13 -0800
committerJunio C Hamano <gitster@pobox.com>2008-02-20 16:13:13 -0800
commit23f12912d1b6c608a7418d242e257b7239861f61 (patch)
tree1fc8a793688652e08f7b0a4b11b9a5bc2f3f9733 /git-send-email.perl
parentf27e55864317611385be4d33b3c53ca787379df9 (diff)
parent0ca15e7217285edaa6c93b53165e1250d25f030b (diff)
downloadgit-23f12912d1b6c608a7418d242e257b7239861f61.tar.gz
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*$/>/;
}