aboutsummaryrefslogtreecommitdiffstats
path: root/main/git/0001-senddata-16K-workaround.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/git/0001-senddata-16K-workaround.patch')
-rw-r--r--main/git/0001-senddata-16K-workaround.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/main/git/0001-senddata-16K-workaround.patch b/main/git/0001-senddata-16K-workaround.patch
deleted file mode 100644
index 341a2a2e82..0000000000
--- a/main/git/0001-senddata-16K-workaround.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/git-send-email.perl b/git-send-email.perl
-index ae9f869..b11dce8 100755
---- a/git-send-email.perl
-+++ b/git-send-email.perl
-@@ -1365,7 +1365,14 @@ Message-Id: $message_id
- $smtp->mail( $raw_from ) or die $smtp->message;
- $smtp->to( @recipients ) or die $smtp->message;
- $smtp->data or die $smtp->message;
-- $smtp->datasend("$header\n$message") or die $smtp->message;
-+ # Apparently datasend cannot send more than about 16 and large patches
-+ # cannot be sent. Source:
-+ # http://git.661346.n2.nabble.com/git-send-email-Connection-Closed-td7635648.html
-+ $smtp->datasend("$header\n") or die $smtp->message;
-+ my @lines = split /^/, $message;
-+ foreach my $line (@lines) {
-+ $smtp->datasend("$line") or die $smtp->message;
-+ }
- $smtp->dataend() or die $smtp->message;
- $smtp->code =~ /250|200/ or die "Failed to send $subject\n".$smtp->message;
- }