diff options
author | Jacob Keller <jacob.keller@gmail.com> | 2024-08-14 02:05:11 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-08-17 19:03:06 +0200 |
commit | c038a6f1d748dd1062ffa91f7a8453c73f5bcf9f (patch) | |
tree | 2714a6bf636da4b91824202bf6f08812cf71868f /t/t6021-rev-list-exclude-hidden.sh | |
parent | t9001-send-email.sh: update alias list used for pine test (diff) | |
download | git-c038a6f1d748dd1062ffa91f7a8453c73f5bcf9f.tar.xz git-c038a6f1d748dd1062ffa91f7a8453c73f5bcf9f.zip |
send-email: teach git send-email option to translate aliases
git send-email has support for converting shorthand alias names to
canonical email addresses via the alias file. It supports a wide variety
of alias file formats based on popular email program file formats.
Other programs, such as b4, would like the ability to convert aliases in
the same way as git send-email without needing to re-implement the logic
for understanding the many file formats.
Teach git send-email a new option, --translate-aliases, which will
enable this functionality. Similar to --dump-aliases, this option works
like a new mode of operation for git send-email.
When run with --translate-aliases, git send-email reads from standard
input and converts any provided alias into its canonical name and email
according to the alias file. Each expanded name and address is printed
to standard output, one per line.
Signed-off-by: Jacob Keller <jacob.keller@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6021-rev-list-exclude-hidden.sh')
0 files changed, 0 insertions, 0 deletions