diff options
author | Jacob Keller <jacob.keller@gmail.com> | 2015-11-19 14:52:11 -0800 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2015-11-20 08:02:06 -0500 |
commit | 17b7a8324402ab1e5bb66adb287e5463757c9326 (patch) | |
tree | 3dcd180aa22323de6b1a902226777284f40e485a /patch-ids.c | |
parent | Merge branch 'master' of git://git.bogomips.org/git-svn (diff) | |
download | tgif-17b7a8324402ab1e5bb66adb287e5463757c9326.tar.xz |
sendemail: teach git-send-email to dump alias names
Add an option "--dump-aliases" which changes the default behavior of
git-send-email. This mode will simply read the alias files configured by
sendemail.aliasesfile and sendemail.aliasfiletype and dump a list of all
configured aliases, one per line. The intended use case for this option
is the bash-completion script which will use it to autocomplete aliases
on the options which take addresses.
Add some tests for the new option using various alias file formats.
A possible future extension to the alias dump format could be done by
extending the --dump-aliases to take an optional argument defining the
format to display. This has not been done in this patch as no user of
this information has been identified.
Signed-off-by: Jacob Keller <jacob.keller@gmail.com>
Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 'patch-ids.c')
0 files changed, 0 insertions, 0 deletions