{"thread":{"id":"8559","subject":"[PATCH] Unquote From line from patch before comparing with given from address.","startedAt":"2007-06-11T17:04:40Z","lastAt":"2007-06-12T05:28:13Z","messageCount":2,"participants":["Kristian Høgsberg","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"44738","messageId":"11815814802456-git-send-email-krh@redhat.com","threadId":"8559","inReplyTo":null,"subject":"[PATCH] Unquote From line from patch before comparing with given from address.","fromName":"Kristian Høgsberg","fromEmail":"krh@redhat.com","sentAt":"2007-06-11T17:04:40Z","receivedAt":"2007-06-11T17:04:40Z","isPatch":true,"sender":{"key":"krh@redhat.com","avatar":"https://gravatar.com/avatar/763dee6f9594ac474f725b137a39565792928e583ddf59b32befc2907409027e?d=mp&s=160"},"body":"This makes --suppress-from actually work when you're unfortunate enough\nto have non-ASCII in your name.  Also, if there's a match use the optionally\nRFC2047 quoted version from the email.\n\nSigned-off-by: Kristian Høgsberg <krh@redhat.com>\n---\n git-send-email.perl |    3 ++-\n 1 files changed, 2 insertions(+), 1 deletions(-)\n\ndiff --git a/git-send-email.perl b/git-send-email.perl\nindex eb876f8..7c0c90b 100755\n--- a/git-send-email.perl\n+++ b/git-send-email.perl\n@@ -561,7 +561,8 @@ foreach my $t (@files) {\n \t\t\t\t\t$subject = $1;\n \n \t\t\t\t} elsif (/^(Cc|From):\\s+(.*)$/) {\n-\t\t\t\t\tif ($2 eq $from) {\n+\t\t\t\t\tif (unquote_rfc2047($2) eq $from) {\n+\t\t\t\t\t\t$from = $2;\n \t\t\t\t\t\tnext if ($suppress_from);\n \t\t\t\t\t}\n \t\t\t\t\telsif ($1 eq 'From') {\n-- \n1.5.2.GIT\n"},{"id":"44793","messageId":"7v4pldn3ma.fsf@assigned-by-dhcp.pobox.com","threadId":"8559","inReplyTo":"11815814802456-git-send-email-krh@redhat.com","subject":"Re: [PATCH] Unquote From line from patch before comparing with given from address.","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2007-06-12T05:28:13Z","receivedAt":"2007-06-12T05:28:13Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thanks.\n\nThat has been longstanding, and I hinted how that can be fixed a\ncouple of times on the list, and was waiting for somebody for\nwhom fixing it would make a difference to fix it, while sort of\npretending to be lazy.\n\nHappy to see finally somebody stepped forward ;-).\n"}]}