summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6894f49)
raw | patch | inline | side by side (parent: 6894f49)
author | Kristian Høgsberg <krh@redhat.com> | |
Mon, 11 Jun 2007 17:04:40 +0000 (13:04 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 12 Jun 2007 07:13:49 +0000 (00:13 -0700) |
This makes --suppress-from actually work when you're unfortunate enough
to have non-ASCII in your name. Also, if there's a match use the optionally
RFC2047 quoted version from the email.
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
to have non-ASCII in your name. Also, if there's a match use the optionally
RFC2047 quoted version from the email.
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl | patch | blob | history |
diff --git a/git-send-email.perl b/git-send-email.perl
index eb876f88ddec315991c2634a976eca8e5b99a1ba..7c0c90bd21bbb009de81aa315bed1c947a32c423 100755 (executable)
--- a/git-send-email.perl
+++ b/git-send-email.perl
$subject = $1;
} elsif (/^(Cc|From):\s+(.*)$/) {
- if ($2 eq $from) {
+ if (unquote_rfc2047($2) eq $from) {
+ $from = $2;
next if ($suppress_from);
}
elsif ($1 eq 'From') {