]> git.ipfire.org Git - thirdparty/git.git/commit
send-email: add sendmail email aliases format
authorAllen Hubbe <allenbh@gmail.com>
Tue, 26 May 2015 21:32:03 +0000 (17:32 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 May 2015 20:01:48 +0000 (13:01 -0700)
commit3169e06daf297227362fb64a9d5c2cc451fefcbb
tree8b4b3893cec5fa76edcb16526c4df4986540adfb
parent9532ead9875b7b92ff2007f9de61af5874e8839a
send-email: add sendmail email aliases format

Teach send-email to read aliases in the sendmail aliases format, i.e.

<alias>: <address|alias>[, <address|alias>...]

Examples:

alice: Alice W Land <awol@example.com>
bob: Robert Bobbyton <bob@example.com>
# this is a comment
   # this is also a comment
chloe: chloe@example.com
abgroup: alice, bob
bcgrp: bob, chloe, Other <o@example.com>

 - Quoted aliases and quoted addresses are not supported.
 - Line continuations are not supported.

Warnings are printed for explicitly unsupported constructs, and any
other lines that are not matched by the parser.

Signed-off-by: Allen Hubbe <allenbh@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-send-email.txt
git-send-email.perl
t/t9001-send-email.sh