diff options
| author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-05-01 10:38:47 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-05-01 08:55:52 -0700 |
| commit | ba92106e93c66e41af5180ac1b6ad0f959f72bb4 (patch) | |
| tree | 049c19e8aba8a8b4b310ce002acd36fd3ca26b2c /builtin/commit-tree.c | |
| parent | send-email: extract execute_cmd from recipients_cmd (diff) | |
| download | git-ba92106e93c66e41af5180ac1b6ad0f959f72bb4.tar.gz git-ba92106e93c66e41af5180ac1b6ad0f959f72bb4.zip | |
send-email: add --header-cmd, --no-header-cmd options
Sometimes, adding a header different than CC or TO is desirable; for
example, when using Debbugs, it is best to use 'X-Debbugs-Cc' headers
to keep people in CC; this is an example use case enabled by the new
'--header-cmd' option.
The header unfolding logic is extracted to a subroutine so that it can
be reused; a test is added for coverage.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions
