OSDN Git Service

Merge branch 'mt/send-email-cc-match-fix' into maint
authorJunio C Hamano <gitster@pobox.com>
Mon, 15 Jul 2013 17:34:36 +0000 (10:34 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Jul 2013 17:34:36 +0000 (10:34 -0700)
Logic used by git-send-email to suppress cc mishandled names like "A
U. Thor" <author@example.xz>, where the human readable part needs to
be quoted (the user input may not have the double quotes around the
name, and comparison was done between quoted and unquoted strings).
It also mishandled names that need RFC2047 quoting.

* mt/send-email-cc-match-fix:
  send-email: sanitize author when writing From line
  send-email: add test for duplicate utf8 name
  test-send-email: test for pre-sanitized self name
  t/send-email: test suppress-cc=self with non-ascii
  t/send-email: add test with quoted sender
  send-email: make --suppress-cc=self sanitize input
  t/send-email: test suppress-cc=self on cccmd
  send-email: fix suppress-cc=self on cccmd
  t/send-email.sh: add test for suppress-cc=self

1  2 
git-send-email.perl

Simple merge