aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-08-26 11:32:23 -0700
committerJunio C Hamano <gitster@pobox.com>2024-08-26 11:32:23 -0700
commit3dd2a2feca6e47b2931dadadad44f92a35e8cf51 (patch)
tree7bfeeb6717713b8c2b2f1b6e4ba84853968da60b /Documentation
parent2b30d66c437b156762a0552d01e3825881080c23 (diff)
parentc038a6f1d748dd1062ffa91f7a8453c73f5bcf9f (diff)
downloadgit-3dd2a2feca6e47b2931dadadad44f92a35e8cf51.tar.xz
Merge branch 'jk/send-email-translate-aliases'
"git send-email" learned "--translate-aliases" option that reads addresses from the standard input and emits the result of applying aliases on them to the standard output. * jk/send-email-translate-aliases: send-email: teach git send-email option to translate aliases t9001-send-email.sh: update alias list used for pine test t9001-send-email.sh: fix quoting for mailrc --dump-aliases test
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-send-email.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index c5d664f451..2e6f1d63ae 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -12,6 +12,7 @@ SYNOPSIS
'git send-email' [<options>] (<file>|<directory>)...
'git send-email' [<options>] <format-patch-options>
'git send-email' --dump-aliases
+'git send-email' --translate-aliases
DESCRIPTION
@@ -475,6 +476,12 @@ Information
that this only includes the alias name and not its expanded email addresses.
See 'sendemail.aliasesFile' for more information about aliases.
+--translate-aliases::
+ Instead of the normal operation, read from standard input and
+ interpret each line as an email alias. Translate it according to the
+ configured alias file(s). Output each translated name and email
+ address to standard output, one per line. See 'sendemail.aliasFile'
+ for more information about aliases.
CONFIGURATION
-------------