diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-09 12:25:33 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-09 12:25:33 +0000 |
| commit | f168c700af451ec2d1f0f64e90fe7cd6b91aaec9 (patch) | |
| tree | 42a67353d115addaec1810ac03130bae1e78bb07 /main/git/0001-senddata-16K-workaround.patch | |
| parent | 12f47f21a0dd0cbcb6ad8d85f2f77383bf84354a (diff) | |
| download | aports-f168c700af451ec2d1f0f64e90fe7cd6b91aaec9.tar.bz2 aports-f168c700af451ec2d1f0f64e90fe7cd6b91aaec9.tar.xz | |
main/git: upgrade to 2.6.3
Diffstat (limited to 'main/git/0001-senddata-16K-workaround.patch')
| -rw-r--r-- | main/git/0001-senddata-16K-workaround.patch | 20 |
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; - } |
