diff options
author | Philippe Bruhat (BooK) <book@cpan.org> | 2008-07-21 17:34:29 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-22 07:09:12 +0400 |
commit | 0d4ede9f5493f0e15fb4f799e6a4a25e36c49fd2 (patch) | |
tree | d35c355043be527f84bde43990507a757ccf18a9 /parse-options.c | |
parent | 75e1645fbe5e0309fbab8c2bfeaebe2c505e679d (diff) |
mailinfo: better parse email adresses containg parentheses
When using git-rebase, author fields containing a ')' at the last position
had the close-parens character removed; the removal should be done only
when it is of this form:
user@host (User Name)
i.e. the remainder after stripping the e-mail address part is enclosed in
a parentheses pair as a whole, not for addresses like this:
User Name (me) <user@host>
Signed-off-by: Philippe Bruhat (BooK) <book@cpan.org>
Acked-by: Lukas Sandström <lukass@etek.chalmers.se>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'parse-options.c')
0 files changed, 0 insertions, 0 deletions