diff options
author | Remi Lespinet <remi.lespinet@ensimag.grenoble-inp.fr> | 2015-07-07 15:38:15 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-07-07 14:38:20 -0700 |
commit | 8d314d7afec5adaaa8e22332e39fe84a39584653 (patch) | |
tree | 4ce65606a30b62be55579e4b022e8201bf08fee5 /Documentation/git-remote.txt | |
parent | send-email: minor code refactoring (diff) | |
download | tgif-8d314d7afec5adaaa8e22332e39fe84a39584653.tar.xz |
send-email: reduce dependencies impact on parse_address_line
parse_address_line had not the same behavior whether the user had
Mail::Address or not. Teach parse_address_line to behave like
Mail::Address.
When the user input is correct, this implementation behaves
exactly like Mail::Address except when there are quotes
inside the name:
"Jane Do"e <jdoe@example.com>
In this case the result of parse_address_line is:
With M::A : "Jane Do" e <jdoe@example.com>
Without : "Jane Do e" <jdoe@example.com>
When the user input is not correct, the behavior is also mostly
the same.
Unlike Mail::Address, this doesn't parse groups and recursive
commentaries.
Signed-off-by: Remi Lespinet <remi.lespinet@ensimag.grenoble-inp.fr>
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-remote.txt')
0 files changed, 0 insertions, 0 deletions