summaryrefslogtreecommitdiffstats
path: root/git-send-email.perl
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-11-13 14:37:25 +0100
committerJunio C Hamano <gitster@pobox.com>2018-11-13 14:37:25 +0100
commit2281aa872154af4cc10a05b09c79a1d41169111d (patch)
treecba0800a79e1347b1d02fef47538d429c421f1d1 /git-send-email.perl
parentMerge branch 'ds/add-missing-tags' (diff)
parentsend-email: avoid empty transfer encoding header (diff)
downloadgit-2281aa872154af4cc10a05b09c79a1d41169111d.tar.xz
git-2281aa872154af4cc10a05b09c79a1d41169111d.zip
Merge branch 'al/send-email-auto-cte-fixup'
"git send-email --transfer-encoding=..." in recent versions of Git sometimes produced an empty "Content-Transfer-Encoding:" header, which has been corrected. * al/send-email-auto-cte-fixup: send-email: avoid empty transfer encoding header
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 dc7e738e9c..4b9d3ad1bd 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -1848,7 +1848,7 @@ sub apply_transfer_encoding {
my $from = shift;
my $to = shift;
- return $message if ($from eq $to and $from ne '7bit');
+ return ($message, $to) if ($from eq $to and $from ne '7bit');
require MIME::QuotedPrint;
require MIME::Base64;